Giter Site home page Giter Site logo

Comments (2)

CarlGao4 avatar CarlGao4 commented on June 30, 2024

Maybe you can try using sudo?

from demucs.

arjantenhoopen avatar arjantenhoopen commented on June 30, 2024

Sorry, same result:

arjan@arjanpc:/tenhoopen/git/demucs> sudo make run track=YouShouldBeDancing.flac
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/

Sending build context to Docker daemon 96.25MB
Step 1/13 : FROM nvidia/cuda:11.8.0-base-ubuntu22.04
---> b63f93532b2a
Step 2/13 : USER root
---> Using cache
---> d3c535f24ec6
Step 3/13 : ENV TORCH_HOME=/data/models
---> Using cache
---> b8f75fc75471
Step 4/13 : RUN apt update && apt install -y --no-install-recommends build-essential ffmpeg git python3 python3-dev python3-pip && rm -rf /var/lib/apt/lists/*
---> Using cache
---> 2d48406f0a82
Step 5/13 : RUN git clone -b main --single-branch https://github.com/facebookresearch/demucs /lib/demucs
---> Using cache
---> 5b001c60df2f
Step 6/13 : WORKDIR /lib/demucs
---> Using cache
---> 8c1617e8a5e8
Step 7/13 : RUN python3 -m pip install -e . --no-cache-dir
---> Using cache
---> cb710d7c328d
Step 8/13 : RUN python3 -m demucs -d cpu test.mp3
---> Using cache
---> 9b238985fd42
Step 9/13 : RUN rm -r separated
---> Using cache
---> dfa7a127124b
Step 10/13 : VOLUME /data/input
---> Using cache
---> b238b385f54f
Step 11/13 : VOLUME /data/output
---> Using cache
---> df8b83dbdfd8
Step 12/13 : VOLUME /data/models
---> Using cache
---> c6e0c979bb46
Step 13/13 : ENTRYPOINT ["/bin/bash", "--login", "-c"]
---> Using cache
---> ea606678c70a
Successfully built ea606678c70a
Successfully tagged xserrat/facebook-demucs:latest
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/lib/demucs/demucs/main.py", line 10, in
main()
File "/usr/lib/demucs/demucs/separate.py", line 133, in main
model = get_model_from_args(args)
File "/usr/lib/demucs/demucs/pretrained.py", line 96, in get_model_from_args
return get_model(name=args.name, repo=args.repo)
File "/usr/lib/demucs/demucs/pretrained.py", line 76, in get_model
model = any_repo.get_model(name)
File "/usr/lib/demucs/demucs/repo.py", line 148, in get_model
return self.bag_repo.get_model(name_or_sig)
File "/usr/lib/demucs/demucs/repo.py", line 130, in get_model
models = [self.model_repo.get_model(sig) for sig in signatures]
File "/usr/lib/demucs/demucs/repo.py", line 130, in
models = [self.model_repo.get_model(sig) for sig in signatures]
File "/usr/lib/demucs/demucs/repo.py", line 65, in get_model
pkg = torch.hub.load_state_dict_from_url(
File "/usr/local/lib/python3.10/dist-packages/torch/hub.py", line 726, in load_state_dict_from_url
os.makedirs(model_dir)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/data/models/hub'
make: *** [Makefile:32: run] Fout 1
arjan@arjanpc:/tenhoopen/git/demucs>`

from demucs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.