Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues you may meet #9

Open
ymlzOvO opened this issue Oct 10, 2023 · 0 comments
Open

Some issues you may meet #9

ymlzOvO opened this issue Oct 10, 2023 · 0 comments

Comments

@ymlzOvO
Copy link

ymlzOvO commented Oct 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant