added slurm no process warning

This commit is contained in:
William Falcon 2019-07-18 17:03:27 -04:00
parent ad44d9168b
commit c02b6c4c88
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ class Trainer(TrainerIO):
# ----------------- # -----------------
# RUN VALIDATION STEP # RUN VALIDATION STEP
# ----------------- # -----------------
print('validating...')
if self.use_ddp: if self.use_ddp:
output = model(data_batch, batch_i) output = model(data_batch, batch_i)
elif self.use_dp: elif self.use_dp: