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

refactor(examples): consistent CIFAR-10 shapes #534

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

grzuy
Copy link
Contributor

@grzuy grzuy commented Sep 29, 2023

Loosely motivated and kicked off by https://elixirforum.com/t/help-figuring-out-reshape-operation-has-mismatched-element-counts-from-0-f32-32-0-8-64-to-16384-f32-32-512/58572.

Isn't an actual transpose make more sense here? Or am I missing something?

UPDATE: In fact this also gives me a jump in accuracy from 59-60% to 67-68%, same for others?

examples/vision/cifar10.exs Outdated Show resolved Hide resolved
@grzuy grzuy changed the title refactor(examples): attempt to improve legibility of CIFAR-10 refactor(examples): consistent CIFAR-10 shape Sep 29, 2023
@grzuy grzuy changed the title refactor(examples): consistent CIFAR-10 shape refactor(examples): consistent CIFAR-10 shapes Sep 29, 2023
@seanmor5
Copy link
Contributor

seanmor5 commented Oct 9, 2023

Thanks!

@seanmor5 seanmor5 merged commit e2b4cee into elixir-nx:main Oct 9, 2023
4 checks passed
@grzuy grzuy deleted the cifar-10-legibility branch October 9, 2023 15:51
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