Skip to content

Error Ensemble #7475

@ccimarp

Description

@ccimarp

Search before asking

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

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions