-
Notifications
You must be signed in to change notification settings - Fork 19
Training accuracy #6
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
Comments
I think there should be some problems with your way of calculating the training accuracy, could you show me the code? |
Please replace the |
len(train_loader.dataset) indicate the total number of batches in the dataset, instead of the number of samples in the current batch. |
Thank you! In case I want to implement the F.softmax in the forward step of the model, is it ok to do so after y_pred = self.leaf_nodes(mu)? |
Of course, this should be fine. |
Thanks for your implementation, very insightful!

Anyway, why training accuracy is so low?
I have been choosing your default hyperparameters and setting.
Thanks!
The text was updated successfully, but these errors were encountered: