Sprayer-Mods / ModelForge

Models envisioned
https://sprayermods.com
GNU General Public License v3.0
1 stars 0 forks source link

YOLOX: Error when trying to run validation #15

Closed blake-espeland closed 1 year ago

blake-espeland commented 2 years ago

Search before asking

YOLOv5 Component

Validation

Bug

AttributeError: 'DetectMultiBackend' object has no attribute 'yolox'

Occurs when running val.py with any parameters. Likely a quick fix, just adding the yolox changes to validation code.

Environment

Minimal Reproducible Example

python3 val.py --data data/SMCottonSingle.yaml --weights best_weights/7_4_22_cotton_v5n.pt

Additional

No response

Are you willing to submit a PR?