ExplainableML / czsl

PyTorch CZSL framework containing GQA, the open-world setting, and the CGE and CompCos methods.
GNU General Public License v3.0
111 stars 27 forks source link

An error occurred while running the test.py Error running test.py #27

Open jiayaohua opened 1 year ago

jiayaohua commented 1 year ago

Hello, when setting "returnimages = true", the error "File "E:/czsl-main1/test.py", line 136, in, occurred data = [d.to(device) for d in data] AttributeError: 'tuple' object has no attribute 'to'” Please how to solve this problem, thank you

mancinimassimiliano commented 1 year ago

I deeply apologize for the very late reply: I was busy in February and I completely forgot to reply. Did you manage to solve the issue in the meantime? Otherwise, I can check its cause.