Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed Kocabas committed Oct 14, 2021
1 parent fa90aff commit 03f084d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main(hparams):
logger.info(torch.cuda.get_device_properties(device))
logger.info(f'Hyperparameters: \n {hparams}')

hparams.DATASET.NUM_WORKERS = -1 # set this to be compatible with other machines
hparams.DATASET.NUM_WORKERS = 0 # set this to be compatible with other machines
model = PARETrainer(hparams=hparams).to(device)

if hparams.TRAINING.PRETRAINED_LIT is not None:
Expand Down
1 change: 1 addition & 0 deletions scripts/install_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ conda activate $CONDA_ENV_NAME
which python
which pip

sudo apt-get install libturbojpeg
pip install -r requirements.txt
1 change: 1 addition & 0 deletions scripts/install_pip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ echo "Activating virtual environment"

source $PWD/pare-env/bin/activate

sudo apt-get install libturbojpeg
$PWD/pare-env/bin/pip install -r requirements.txt

0 comments on commit 03f084d

Please sign in to comment.