facebookresearch / dora

Dora is an experiment management framework. It expresses grid searches as pure python files as part of your repo. It identifies experiments with a unique hash signature. Scale up to hundreds of experiments without losing your sanity.
MIT License
262 stars 24 forks source link

error with pytorch_lightning #16

Closed kingjr closed 2 years ago

kingjr commented 2 years ago

the pytorch_lightning example leads to the following error

jeanremi@devfair0166:~/opt/dora/examples$ export DORA_PACKAGE=pl
jeanremi@devfair0166:~/opt/dora/examples$ dora run
Traceback (most recent call last):
  File "/private/home/jeanremi/.conda/envs/ame/bin/dora", line 8, in <module>
    sys.exit(main())
  File "/private/home/jeanremi/.conda/envs/ame/lib/python3.8/site-packages/dora/__main__.py", line 205, in main
    args.action(args, main)
  File "/private/home/jeanremi/.conda/envs/ame/lib/python3.8/site-packages/dora/run.py", line 69, in run_action
    main()
  File "/private/home/jeanremi/.conda/envs/ame/lib/python3.8/site-packages/dora/main.py", line 62, in __call__
    return self._main()
  File "/private/home/jeanremi/.conda/envs/ame/lib/python3.8/site-packages/dora/main.py", line 68, in _main
    return self.main()
  File "/private/home/jeanremi/opt/dora/examples/pl/train.py", line 85, in main
    trainer = trainer_from_argparse_args(
  File "/private/home/jeanremi/.conda/envs/ame/lib/python3.8/site-packages/dora/lightning.py", line 238, in trainer_from_argparse_args
    return get_trainer(*intercept.args, **intercept.kwargs)
  File "/private/home/jeanremi/.conda/envs/ame/lib/python3.8/site-packages/dora/lightning.py", line 185, in get_trainer
    env = DoraEnvironment()
TypeError: Can't instantiate abstract class DoraEnvironment with abstract methods creates_processes_externally