You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P1,
when running pip install -v -e .
“THC/THC.h: No such file or directory”
The Pytorch version should not be higher than v1.10, or you need to update the API changed because of the removal of THC/THC.h from v1.10 to v1.11.
P2,
(votenet) ymlz@R9KX2021:~/FS3D$ CUDA_VISIBLE_DEVICES=0 python tools/train.py ./configs/prototypical_votenet/train_together_sun/prototypical_votenet_16x8_sunrgbd-3d-10class_1_1.py --sample_num 16 --work_path ./data/fs_sunrgbd_split_1/1_shot1
Traceback (most recent call last):
File "tools/train.py", line 314, in <module>
main()
File "tools/train.py", line 198, in main
cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config)))
File "/home/ymlz/miniconda3/envs/votenet/lib/python3.8/site-packages/mmcv/utils/config.py", line 541, in dump
f.write(self.pretty_text)
File "/home/ymlz/miniconda3/envs/votenet/lib/python3.8/site-packages/mmcv/utils/config.py", line 496, in pretty_text
text, _ = FormatCode(text, style_config=yapf_style, verify=True)
TypeError: FormatCode() got an unexpected keyword argument 'verify'
pip install yapf==0.40.1, instead of 0.40.2
P3,
(votenet) ymlz@R9KX2021:~/FS3D$ conda list
CondaError: Expected exactly one `egg-info` directory in '/home/ymlz/FS3D', via egg-link 'lib/python3.8/site-packages/mmdet3d.egg-link'. Instead found: ('fs3d.egg-info', 'mmdet3d.egg-info'). These are often left over from legacy operations that did not clean up correctly. Please remove all but one of these.
cd your env path and rm lib/python3.8/site-packages/mmdet3d.egg-link
The text was updated successfully, but these errors were encountered:
P1,
when running
pip install -v -e .
“THC/THC.h: No such file or directory”
The Pytorch version should not be higher than v1.10, or you need to update the API changed because of the removal of THC/THC.h from v1.10 to v1.11.
P2,
pip install yapf==0.40.1, instead of 0.40.2
P3,
cd your env path and rm lib/python3.8/site-packages/mmdet3d.egg-link
The text was updated successfully, but these errors were encountered: