updated args
This commit is contained in:
parent
5ce4e872de
commit
4d5123e379
|
@ -198,6 +198,7 @@ class Trainer(TrainerIO):
|
||||||
# -----------------
|
# -----------------
|
||||||
if self.data_parallel:
|
if self.data_parallel:
|
||||||
output = model(data_batch, batch_i)
|
output = model(data_batch, batch_i)
|
||||||
|
pdb.set_trace()
|
||||||
output = reduce_distributed_output(output, len(self.data_parallel_device_ids))
|
output = reduce_distributed_output(output, len(self.data_parallel_device_ids))
|
||||||
else:
|
else:
|
||||||
output = model.validation_step(data_batch, batch_i)
|
output = model.validation_step(data_batch, batch_i)
|
||||||
|
|
Loading…
Reference in New Issue