fixed correct module on hpc save
This commit is contained in:
parent
8f0d9af168
commit
a0e2b5ee54
|
@ -307,6 +307,7 @@ def run_gpu_model_test(trainer_options, model, hparams, on_gpu=True):
|
|||
|
||||
if trainer.use_ddp:
|
||||
trainer.model = pretrained_model
|
||||
trainer.optimizers = pretrained_model.configure_optimizers()
|
||||
|
||||
# test HPC loading / saving
|
||||
trainer.hpc_save(save_dir, exp)
|
||||
|
|
Loading…
Reference in New Issue