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

Fixes vit_jax_augreg Colab. #250

Closed
wants to merge 0 commits into from
Closed

Fixes vit_jax_augreg Colab. #250

wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Fixes vit_jax_augreg Colab.

  1. Flax introduced a new format for GroupNorm weights in checkpoints (Checkpoints stored before 0.3.6 have incompatible GroupNorm weights google/flax#1721) which is fixed with the added _fix_groupnorm().

  2. It was reported in Attribute Error in vit_jax_augreg #249 that passing a list as argument does not work anymore. This has been fixed by converting the EagerTensor to a numpy array and adding the batch dimension via fancy indexing.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

0 participants