Last active
July 13, 2020 22:23
-
-
Save awave1/cb14523f293136fecd29f5af4e4f211a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM continuumio/miniconda3 | |
RUN git clone https://github.com/facebookresearch/demucs.git /app | |
WORKDIR /app | |
RUN conda env update -f environment-cpu.yml | |
RUN conda init bash | |
RUN echo "conda activate demucs" > ~/.bashrc | |
ENTRYPOINT ["conda", "run", "-n", "demucs", "python", "-m", "demucs.separate"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ./models ./out && docker run -v "$PWD/models:/models" -v ~/Downloads/Blackstar\ -\ Thieves\ in\ the\ Night.wav:/data/song.wav -v "$PWD/out:/out" -it demucs --dl -v /data/song.wav --models /models -d cpu -o /out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment