Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jiayaohua opened this issue Feb 16, 2023 · 1 comment
Open

Comments

@jiayaohua
Copy link

Hello, when setting "return_images = 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

@jiayaohua jiayaohua changed the title 运行test.py时发生错误 Error running test.py An error occurred while running the test.py Error running test.py Feb 16, 2023
@mancinimassimiliano
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants