Skip to content

Commit

Permalink
use venv instead of virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfix committed Jan 19, 2024
1 parent be5239d commit cf7d251
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions LabsSolutions/03-pytorch-gan/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ def makejob(dataset, nruns):
cd $TMPDIR/tpGAN
echo "Setting up the virtual environment"
python3 -m pip install virtualenv --user
virtualenv -p python3 venv
source venv/bin/activate
python3 -m venv $TMPDIR/venv
source $TMPDIR/venv/bin/activate
python -m pip install -r requirements.txt
echo "Training"
Expand Down

0 comments on commit cf7d251

Please # to comment.