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

mnist example get loss nan #13

Open
aichifandefan opened this issue Apr 12, 2022 · 5 comments
Open

mnist example get loss nan #13

aichifandefan opened this issue Apr 12, 2022 · 5 comments

Comments

@aichifandefan
Copy link

when i run the mnist example i get the loss is nan, is the ToPoincare cause result?

@aichifandefan
Copy link
Author

when i commented out the code for self.tp and self.mlr and turn in Euclidean space to classificiation it not get nan result

@07Agarg
Copy link

07Agarg commented Jul 18, 2022

Hi @leymir , I am also getting nan in mnist example. How to resolve this?

@aichifandefan
Copy link
Author

@07Agarg When I adjust the c to 0.05 acorroding to the paper no longer get nan.

@aichifandefan
Copy link
Author

@KhrulkovV @leymir I still have a confusion, in the paper the c means the radius of the ball, but in the source code it means ball negative curvature , is this a wrong comment?

@07Agarg
Copy link

07Agarg commented Jul 28, 2022

@07Agarg When I adjust the c to 0.05 acorroding to the paper no longer get nan.

Solved my issue. Thanks @aichifandefan !

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