-
-
Notifications
You must be signed in to change notification settings - Fork 17.3k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Search before asking
- I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
When I tried to do the same example of the Ensemble tutorial, I had this error:
Traceback (most recent call last):
File "val.py", line 398, in
main(opt)
File "val.py", line 371, in main
run(**vars(opt))
File "/usr/local/lib/python3.7/dist-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "val.py", line 166, in run
ncm = model.model.yaml['nc']
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 1178, in getattr
type(self).name, name))
AttributeError: 'Ensemble' object has no attribute 'yaml'
Additional
No response
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested