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

Printing Wrong Loss #4

Open
myavkat opened this issue Aug 13, 2023 · 0 comments
Open

Printing Wrong Loss #4

myavkat opened this issue Aug 13, 2023 · 0 comments

Comments

@myavkat
Copy link

myavkat commented Aug 13, 2023

While printing the loss of the epoch in the train function, sum_loss is divided by N which is the dataset's size. But the losses are added to sum_loss N/args.batchsize times.

myavkat added a commit to myavkat/svm-pytorch that referenced this issue Aug 14, 2023
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

1 participant