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

Error when trying to train mnist poincare experiment #8

Open
saniazahan opened this issue Jul 26, 2021 · 1 comment
Open

Error when trying to train mnist poincare experiment #8

saniazahan opened this issue Jul 26, 2021 · 1 comment

Comments

@saniazahan
Copy link

saniazahan commented Jul 26, 2021

I got the following error while testing the mnist poincare experiment. If I train for 79 epoch the error doesn't occur. Could you please suggest what is the problem

image

@saniazahan saniazahan reopened this Jul 26, 2021
@saniazahan saniazahan changed the title Error when trying to train Error when trying to train mnist poincare experiment Jul 26, 2021
@Ingmar-Bergman
Copy link

Try to replace 'input = input.unsqueeze(-2).expand(*input.shape[:-(len(input.shape) - 2)], self.out_features, self.in_features)'
by 'input = input.unsqueeze(-2).expand(*input.shape[:-1], self.out_features, self.in_features)'.

It worked for me.

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