You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, the evaluation step tries to import the optimized Cython version (COCOeval_opt), which in turn requires a working ninja install for JIT compilation. If ninja isn’t available, the import fails and the entire eval pipeline breaks.
🔧 Temporary Workaround
Force use of the pure-Python evaluator by swapping out the import. In yolox/evaluators/coco_evaluator.py (around line 294):
On Windows, the evaluation step tries to import the optimized Cython version (COCOeval_opt), which in turn requires a working ninja install for JIT compilation. If ninja isn’t available, the import fails and the entire eval pipeline breaks.
🔧 Temporary Workaround
Force use of the pure-Python evaluator by swapping out the import. In
yolox/evaluators/coco_evaluator.py
(around line 294):YOLOX/yolox/evaluators/coco_evaluator.py
Line 294 in d872c71
, replace:
This change bypasses the
ninja
dependency and lets evaluation complete using the standard COCO API.Feel free to let me know if you’d like a PR implementing the fallback logic!
The text was updated successfully, but these errors were encountered: