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

TypeError: 'generator' object is not callable #45

Closed
cui0204 opened this issue Jun 26, 2022 · 2 comments
Closed

TypeError: 'generator' object is not callable #45

cui0204 opened this issue Jun 26, 2022 · 2 comments

Comments

@cui0204
Copy link

cui0204 commented Jun 26, 2022

Hello, thanks for sharing the code. This error occurs when I am running offline tests. What happens? I haven't found a solution yet. Thank you very much for your help.
error

@zhangxuying1004
Copy link
Owner

Hello, thanks for sharing the code. This error occurs when I am running offline tests. What happens? I haven't found a solution yet. Thank you very much for your help. error

Thanks for your attention.
please check if your dataset has been loaded successfully?

@hunanpolly
Copy link

hunanpolly commented May 6, 2023

I have tackled this problem in the "training stage". You should modify the "fetch.py" as following:
微信截图_20230507003916
and, use "enumerate(dataloader)" rather than "enumerate(iter(dataloader))"

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

3 participants