Skip to content

AttributeError: 'T2NetModel' object has no attribute 'loss_lab_t' #40

@AlfieBrash

Description

@AlfieBrash

I am getting an AttributeError in the train.py. Full message below:

Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.6/runpy.py", line 109, in get_module_details import(pkg_name) File "/home2/tnkx14/T2Net/train.py", line 35, in errors = model.get_current_errors() File "/home2/tnkx14/T2Net/model/base_model.py", line 35, in get_current_errors errors_ret[name] = getattr(self, 'loss' + name).item() AttributeError: 'T2NetModel' object has no attribute 'loss_lab_t'

Has anyone had this issue? I would be very grateful for your insight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions