Skip to content

pip install? #2

Open
Open
@turian

Description

A setup.py or pip install would be great.

Activity

dr-costas

dr-costas commented on Mar 18, 2021

@dr-costas
Collaborator

Hi,

Are the guidelines at README not working for you?

Have you checked the part that says:

pip install -r requirements.txt

?

xavierfav

xavierfav commented on Mar 18, 2021

@xavierfav
Owner

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

turian commented on Mar 18, 2021

@turian
Author

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pip install? · Issue #2 · xavierfav/coala