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

ModuleNotFoundError: No module named 'posecnn_cuda' #40

Open
haasithp opened this issue May 31, 2023 · 1 comment
Open

ModuleNotFoundError: No module named 'posecnn_cuda' #40

haasithp opened this issue May 31, 2023 · 1 comment

Comments

@haasithp
Copy link

When I run "./experiments/scripts/demo.sh", I get this error "ModuleNotFoundError: No module named 'posecnn_cuda'" but I can find posecnn 0.0.0 and posecnn_cuda 0.0.0 in "pip list". Can someone help me resolve this

@XuTongXue66
Copy link

@haasithp 你好,请问一下你这个问题解决了吗?最近也提示这个错误

(posecnn) pi@pi-MS-7E13:~/PoseCNN-PyTorch$ ./experiments/scripts/demo.sh

  • set -e
  • export PYTHONUNBUFFERED=True
  • PYTHONUNBUFFERED=True
  • export CUDA_VISIBLE_DEVICES=0
  • CUDA_VISIBLE_DEVICES=0
  • ./tools/test_images.py --gpu 0 --imgdir data/demo/ --meta data/demo/meta.yml --color '*color.png' --network posecnn --pretrained data/checkpoints/ycb_object/vgg16_ycb_object_self_supervision_epoch_8.checkpoint.pth --dataset ycb_object_test --cfg experiments/cfgs/ycb_object.yml
    Traceback (most recent call last):
    File "./tools/test_images.py", line 24, in
    from fcn.test_imageset import test_image
    File "/home/pi/PoseCNN-PyTorch/tools/../lib/fcn/test_imageset.py", line 15, in
    from fcn.test_common import refine_pose
    File "/home/pi/PoseCNN-PyTorch/tools/../lib/fcn/test_common.py", line 9, in
    import posecnn_cuda
    ModuleNotFoundError: No module named 'posecnn_cuda'

real 0m0.934s
user 0m1.791s
sys 0m2.733s

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

2 participants