The error in pretrain.py
Thank you for your nice work. When I run your code, I find that there is an error, shown as:
preTrainer = Trainer(logger, callbacks = callbacks, checkpoint_callback=False, num_sanity_val_steps=0, progress_bar_refresh_rate=10, cfg.trainer)
The error information is shown as follows:
Traceback (most recent call last):
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
_run_app(
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 457, in _run_app
run_and_report(
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
raise ex
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
return func()
File "/Users/wanghonghui/PycharmProjects/Trajectory_Prediction/venv/lib/python3.8/site-packages/hydra/_internal/utils.py", line 458, in
I would like to know if you can fix it. Thank you for your help.
Hi,
I have not yet encountered this problem. Can you check, if you are using the supported torch version torch==1.6.0.