Skip to content

Conversation

@jonnor
Copy link
Contributor

@jonnor jonnor commented Dec 23, 2024

The MNIST example was just scoring 60% when running using emlearn-cnn. This turned out to be due to not using the dequantize option in TinyMaix. With this fixed, the score was 94% on 5 samples per class - quite close to the 97% in the validation set.

The outputs were frequently invalid without this, sometimes
containing NaN values or huge numbers
This brings the MNIST example from 60% to 94% accuracy
@jonnor jonnor merged commit dae6e61 into master Dec 23, 2024
2 checks passed
@jonnor jonnor deleted the cnn-dequant branch December 23, 2024 17:25
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

Successfully merging this pull request may close these issues.

2 participants