-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Open
Labels
detectObject Detection issues, PR'sObject Detection issues, PR'squestionFurther information is requestedFurther information is requested
Description
Search before asking
- I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
ModuleNotFoundError: No module named 'models'
I encountered an issue when deploying my custom-trained YOLOv5 model (best.pt). Loading the model file depends on the full YOLOv5 source code structure, which makes it inconvenient for deployment in production or lightweight services. Is there a better way to load the model directly in an inference script without relying on the entire YOLOv5 codebase?
Additional
No response
Metadata
Metadata
Assignees
Labels
detectObject Detection issues, PR'sObject Detection issues, PR'squestionFurther information is requestedFurther information is requested