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

No module named 'mmdet.ops.nms.gpu_nms' #55

Open
likunnb opened this issue May 26, 2021 · 0 comments
Open

No module named 'mmdet.ops.nms.gpu_nms' #55

likunnb opened this issue May 26, 2021 · 0 comments

Comments

@likunnb
Copy link

likunnb commented May 26, 2021

i run a run.sh as shown below:

`
exportPYTHONPATH=$PYTHONPATH:/home/likun/code/nas/slimmable_networks_v2/mmdet/:/home/likun/code/nas/slimma ble_networks_v2/tools/mmcv/

python /home/likun/code/nas/slimmable_networks_v2/tools/test.py configs/faster_rcnn_r50_fpn_1x.py /home/likun/code/nas/slimmable_networks_v1/logs/s_resnet50_0.25_0.5_0.75_1.0.pt --eval bbox --width_mult 0.25
`

but error as shown below :

likun@ip:~/code/nas/slimmable_networks_v2$ sh run.sh Traceback (most recent call last): File "/home/likun/code/nas/slimmable_networks_v2/tools/test.py", line 174, in <module> from mmdet.core import results2json, coco_eval File "/home/likun/code/nas/slimmable_networks_v2/mmdet/core/__init__.py", line 6, in <module> from .post_processing import * # noqa: F401, F403 File "/home/likun/code/nas/slimmable_networks_v2/mmdet/core/post_processing/__init__.py", line 1, in <module> from .bbox_nms import multiclass_nms File "/home/likun/code/nas/slimmable_networks_v2/mmdet/core/post_processing/bbox_nms.py", line 3, in <module> from mmdet.ops import nms File "/home/likun/code/nas/slimmable_networks_v2/mmdet/ops/__init__.py", line 1, in <module> from .nms import nms, soft_nms File "/home/likun/code/nas/slimmable_networks_v2/mmdet/ops/nms/__init__.py", line 1, in <module> from .nms_wrapper import nms, soft_nms File "/home/likun/code/nas/slimmable_networks_v2/mmdet/ops/nms/nms_wrapper.py", line 8, in <module> from .gpu_nms import gpu_nms ModuleNotFoundError: No module named 'mmdet.ops.nms.gpu_nms'

**the '/home/likun/code/nas/slimmable_networks_v2/' is my file rootpath as the rootpath of this github.

why error? ~ could u tell me ?**
is vision wrong?

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