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

pip install? #2

Open
turian opened this issue Mar 13, 2021 · 3 comments
Open

pip install? #2

turian opened this issue Mar 13, 2021 · 3 comments

Comments

@turian
Copy link

turian commented Mar 13, 2021

A setup.py or pip install would be great.

@dr-costas
Copy link
Collaborator

Hi,

Are the guidelines at README not working for you?

Have you checked the part that says:

pip install -r requirements.txt

?

@xavierfav
Copy link
Owner

xavierfav commented Mar 18, 2021

Hi,

A setup.py file would be helpful indeed for facilitating the reuse of the models in other contexts. Feel free to open a pull request.

@turian
Copy link
Author

turian commented Mar 18, 2021

Right now I am experimenting with COALA, wavenet, openl3, auraloss, etc.

sudo apt-get install -y libasound2-dev libsndfile-dev vorbis-tools
pip3 install openl3 "tensorflow-gpu==1.14.0" torch tabulate magenta --upgrade-strategy only-if-needed 2>&1 | tee pip.log

pip3 install git+https://github.com/turian/auraloss@linstft

pip3 install -q tqdm tabulate gputil psutil humanize soundfile tqdm resampy tabulate

git clone https://github.com/xavierfav/coala.git
perl -i -pe 's/torch==1.5.0//g' coala/requirements.txt
perl -i -pe 's/torchvision==0.6.0/torchvision/g' coala/requirements.txt
perl -i -pe 's/"device": .*/"device": "cuda"/g' coala/configs/*
ln -s coala/utils.py
ln -s coala/models_t1000.py
ln -s coala/scaler_top_1000.pkl
ln -s coala/json

pip3 install -r coala/requirements.txt

This is my current setup.sh. As you can see, I can get COALA running but it pollutes the working directory.

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

3 participants