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: item() takes no arguments (1 given) #82

Open
Rhett-Lin opened this issue Mar 23, 2022 · 1 comment
Open

TypeError: item() takes no arguments (1 given) #82

Rhett-Lin opened this issue Mar 23, 2022 · 1 comment

Comments

@Rhett-Lin
Copy link

运行main.py时报错
100. * batch_idx / len(train_loader), loss.item(0)))
TypeError: item() takes no arguments (1 given)

@Eric-mingjie
Copy link
Owner

参考#75

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