Skip to content

Commit

Permalink
fix num_workers
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed Kocabas committed Oct 14, 2021
1 parent ca3e7b0 commit d2fe2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/spec_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def main(hparams):

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 = SPECTrainer(hparams=hparams).to(device)

# TRAINING.PRETRAINED_LIT points to the checkpoint files trained using this repo
Expand Down

0 comments on commit d2fe2c2

Please sign in to comment.