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

Fix Fashion MNIST autoencoder example #439

Merged
merged 6 commits into from
Jan 16, 2023

Conversation

nskins
Copy link
Contributor

@nskins nskins commented Jan 4, 2023

The Fashion MNIST autoencoder example throws the same error as the examples in #437. This PR fixes the autoencoder by updating the dependencies and fixing breaking changes.

Summary of changes:

  • Update dependencies to latest versions
  • Add :batch placeholder for dynamic batch size
  • Update deprecated Nx function to_batched_list/3 to to_batched/3
  • Use Enum.fetch!/2 since hd/1 does not work on a stream
  • Remove unused alias for Axon.Loop.State
  • Fix spelling of MNIST in module name

@seanmor5
Copy link
Contributor

Thanks! @nskins

@seanmor5 seanmor5 merged commit 15524c5 into elixir-nx:main Jan 16, 2023
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.

None yet

2 participants