-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 'yolox.layers.fast_cocoeval' #1346
Comments
What if you run the following code: from yolox.layers import FastCOCOEvalOp
FastCOCOEvalOp().jit_load() It will log
|
ModuleNotFoundError is solved, Thank you. 2022-05-27 16:07:45 | INFO | yolox.data.datasets.coco:64 - loading annotations into memory...
|
@kv55 how did you solved the ModuleNotFoundError: No module named 'yolox.layers.fast_cocoeval Error |
modified fast_coco_eval_api.py as per the below link: |
While trying fast evaluation with the below command :
python -m yolox.tools.eval -n yolox-s -c yolox_s.pth -b 64 -d 8 --conf 0.001 [--fp16] [--fuse]
got the following error:
File "E:\yolo_inference\YOLOX\yolox\layers\jit_ops.py", line 83, in load
return importlib.import_module(self.absolute_name())
│ │ │ └ <function FastCOCOEvalOp.absolute_name at 0x00000155BB403040>
│ │ └ <yolox.layers.jit_ops.FastCOCOEvalOp object at 0x000001548F7069A0>
│ └ <function import_module at 0x00000154DC9053A0>
└ <module 'importlib' from 'C:\Users\****\Python39\lib\importlib\init.py'>
File "C:\Users****\Python39\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
│ │ │ │ │ └ 0
│ │ │ │ └ None
│ │ │ └ 0
│ │ └ 'yolox.layers.fast_cocoeval'
│ └ <function _gcd_import at 0x00000154DC6D13A0>
└ <module 'importlib._bootstrap' (frozen)>
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'yolox.layers.fast_cocoeval'
ninja version: 1.10.2.3
The text was updated successfully, but these errors were encountered: