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

The right way to set up the virtual environment #10

Open
DKandrew opened this issue May 1, 2020 · 1 comment
Open

The right way to set up the virtual environment #10

DKandrew opened this issue May 1, 2020 · 1 comment

Comments

@DKandrew
Copy link

DKandrew commented May 1, 2020

The requirements.txt file is broken. Do not use that one to set up your virtual environment.

Do this

# Create a conda environment first
conda create --name pytorch04

# Enter the environment
conda activate pytorch04

# Install pytorch 
conda install pytorch=0.4.1 cuda90 -c pytorch

Replace everything in the requirements.txt file to the following

matplotlib
pandas
jupyterlab
torchvision==0.2.1

then run pip install -r requirements.txt. Now you should be able to run the infer-main.ipynb and train.py

@mebasoglu
Copy link

Hello, thank you for sharing this. I also needed to add Pillow==8.4.0 to requirements.txt.

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

2 participants