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.
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?