Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Docker image as non root user gives cache error #23

Open
ivoba opened this issue Feb 9, 2022 · 0 comments
Open

Run Docker image as non root user gives cache error #23

ivoba opened this issue Feb 9, 2022 · 0 comments

Comments

@ivoba
Copy link

ivoba commented Feb 9, 2022

When running the Docker image as non root user

 docker run --user $(id -u):$(id -g) -v /home/ivo/Sites/audiomoth-zx/files/destination:/audio breallis/birdnet:cpu --i audio/audios --o /audio/birdnet

this error occurs:

RuntimeError: cannot cache function '__shear_dense': no locator available for file '/usr/local/lib/python3.7/site-packages/librosa/util/utils.py'

I guess the default NUMBA_CACHE_DIR can only be written as root?
I have no clue of python though.
Any ideas how to fix this?

The files created by the Docker image are created by root per default which causes permission problems with further processing of the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant