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

Crashing on training with binarized values #4

Open
ahadzic7 opened this issue Mar 8, 2024 · 0 comments
Open

Crashing on training with binarized values #4

ahadzic7 opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ahadzic7
Copy link
Collaborator

ahadzic7 commented Mar 8, 2024

When training with MNIST dataset binarized to values 0 and 1 (typed Int) it crashes.
Works if it is real valued to 0.0 and 1.0.

The issue occurs for training generally with categorical data.

The error is in forward pass function, due to inexact conversion exception thrown, when converting real value into an int.
ex. Int(1.23)

@ahadzic7 ahadzic7 added the bug Something isn't working label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants