gotta go fast
This commit is contained in:
parent
ae05402bc6
commit
aa91eaf228
4
main.py
4
main.py
|
@ -655,7 +655,9 @@ if __name__ == "__main__":
|
||||||
del callbacks_cfg['ignore_keys_callback']
|
del callbacks_cfg['ignore_keys_callback']
|
||||||
|
|
||||||
trainer_kwargs["callbacks"] = [instantiate_from_config(callbacks_cfg[k]) for k in callbacks_cfg]
|
trainer_kwargs["callbacks"] = [instantiate_from_config(callbacks_cfg[k]) for k in callbacks_cfg]
|
||||||
|
trainer_kwargs["plugins"] = list()
|
||||||
|
from pytorch_lightning.plugins import DDPPlugin
|
||||||
|
trainer_kwargs["plugins"].append(DDPPlugin(find_unused_parameters=False))
|
||||||
trainer = Trainer.from_argparse_args(trainer_opt, **trainer_kwargs)
|
trainer = Trainer.from_argparse_args(trainer_opt, **trainer_kwargs)
|
||||||
trainer.logdir = logdir ###
|
trainer.logdir = logdir ###
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue