mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
add demucs
This commit is contained in:
parent
af5faed795
commit
5b30e15f52
@ -101,7 +101,6 @@ A collection of delicious docker recipes.
|
||||
- [x] alpine-arm :+1:
|
||||
- [x] apacheds
|
||||
- [x] aria2 :+1:
|
||||
- [x] audiowaveform
|
||||
- [x] cadvisor
|
||||
- [x] casperjs :+1:
|
||||
- [x] freegeoip
|
||||
@ -171,6 +170,11 @@ A collection of delicious docker recipes.
|
||||
- [x] youtube-dl
|
||||
- [x] youtube-worker :beetle:
|
||||
|
||||
## Audio
|
||||
|
||||
- [x] audiowaveform
|
||||
- [x] demucs
|
||||
|
||||
## Web
|
||||
|
||||
- [x] discuz :cn:
|
||||
|
25
demucs/Dockerfile
Normal file
25
demucs/Dockerfile
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Dockerfile for demucs
|
||||
#
|
||||
|
||||
FROM continuumio/anaconda3:2020.11
|
||||
|
||||
USER root
|
||||
|
||||
WORKDIR /opt/demucs
|
||||
|
||||
ENV PATH=/opt/conda/bin:$PATH
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl tar \
|
||||
&& curl -sSL https://github.com/facebookresearch/demucs/archive/master.tar.gz | tar xz --strip 1 \
|
||||
&& conda env update -f environment-cpu.yml
|
||||
|
||||
VOLUME /opt/demucs/models \
|
||||
/opt/demucs/output \
|
||||
/opt/demucs/input
|
||||
|
||||
ENTRYPOINT [ \
|
||||
"conda", "run", "--no-capture-output", "-n", "demucs", \
|
||||
"python3", "-m", "demucs.separate", "--dl", "-n", "demucs", "-d", "cpu", "--models", "models", "--out", "output" \
|
||||
]
|
18
demucs/README.md
Normal file
18
demucs/README.md
Normal file
@ -0,0 +1,18 @@
|
||||
demucs
|
||||
======
|
||||
|
||||
[Demucs][1] is based on U-Net convolutional architecture inspired by Wave-U-Net
|
||||
and SING, with GLUs, a BiLSTM between the encoder and decoder, specific
|
||||
initialization of weights and transposed convolutions in the decoder.
|
||||
|
||||
## up and running
|
||||
|
||||
```bash
|
||||
$ docker-compose run --rm demucs input/test.mp3
|
||||
```
|
||||
|
||||
## comparison
|
||||
|
||||
https://ai.honu.io/papers/demucs/
|
||||
|
||||
[1]: https://github.com/facebookresearch/demucs
|
8
demucs/docker-compose.yml
Normal file
8
demucs/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
demucs:
|
||||
image: vimagick/demucs
|
||||
volumes:
|
||||
- ./models:/opt/demucs/models
|
||||
- ./output:/opt/demucs/output
|
||||
- ./input:/opt/demucs/input
|
Loading…
Reference in New Issue
Block a user