ddsp
ddsp copied to clipboard
DDSP in Docker Container
Have anybody set up a docker container with the ddsp package ? I'm actually trying to set up one, but unfortunately I got errors by installing the numpy package. So would be nice if anybody can give some hints which python version should work with the ddsp package in a docker container.
Thanks!
Hey @simonwindtner did you ever finish this docker container? Maybe you could post your code so I can keep working on it?
Hey @mepc36, yes finished the docker image. here u can find the dockerfile - I set up a docker container with a small file system to exchange, these are all the section where my name is written ;-) ################## FROM python:3.8-buster
RUN useradd -m -d /home/Simon Simon WORKDIR /home/Simon
RUN apt-get update RUN apt-get install libsndfile-dev -y RUN apt-get -y install libc-dev RUN apt-get -y install build-essential RUN pip install -U pip COPY requirments.txt . RUN pip install -r requirments.txt RUN rm requirments.txt
RUN echo 'root:rt' | chpasswd
USER Simon ENV PATH "${PATH}:/home/Simon/.local/bin" ENV HOME /home/Simon RUN mkdir files
CMD /bin/bash ##################
and also the requirements file:
################## ddsp ipykernel ##################
Awesome thank you so much @simonwindtner! I will try to get this working and circle back if I have any questions
Hey @simonwindtner so I can get the Dockerfile to build the image using this command...
docker build -t ddsp .
...but then the container starts and immediately exits (with no logs) when I run this command:
docker run ddsp -d
Any help? How are you starting the container and logging onto it so you can use DDSP there? Thanks man!
should be ok.
but I use the docker desktop app to start/stopp the containers, and attach afterwards to VSCode.
Great, thanks. You're not on a Mac M1 are you?
my docker is running on the „old“ 13pro, but i‘ve M1 as well. up to now i did not check if the containers run on the M1 - sorry