Skip to content

Error Feature Generation #4

@ttmgr

Description

@ttmgr

Hi again,

after fixing the path issue I am getting a different error by now:

Traceback (most recent call last):
File "main.py", line 368, in
main()
File "main.py", line 288, in main
train_CLmodel(logger,args)
File "/COMEBin/COMEBin/train_CLmodel.py", line 235, in train_CLmodel
simclr.train_addpretrain(train_loader, dataset, namelist)
File "/COMEBin/COMEBin/simclr.py", line 299, in train_addpretrain
top1, top5 = accuracy(logits, labels, topk=(1, 5))
UnboundLocalError: local variable 'logits' referenced before assignment
Something went wrong with running training network. Exiting.

Is there a way to fix this issue?

Best,
tim

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