-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Hi there!
I've been trying to run the code on colab on MOT17 dataset. I followed all the instructions and I managed to get the network to train.
The 'python scripts/evaluate.py' command seems to fail though. This is the error I get:
WARNING - evaluate - No observers have been added to this run
INFO - evaluate - Running command 'main'
INFO - evaluate - Started
ERROR - evaluate - Failed after 0:00:00!
Traceback (most recent calls WITHOUT Sacred internals):
File "scripts/evaluate.py", line 34, in main
model = MOTNeuralSolver.load_from_checkpoint(checkpoint_path=_config['ckpt_path'] if osp.exists(_config['ckpt_path']) else osp.join(OUTPUT_PATH, _config['ckpt_path']))
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/core/saving.py", line 156, in load_from_checkpoint
model = cls._load_model_state(checkpoint, strict=strict, kwargs)
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/core/saving.py", line 198, in _load_model_state
model = cls(_cls_kwargs)
TypeError: init() missing 1 required positional argument: 'hparams'
Any ideas as to how to fix this? Thanks in advance