google / google/flax

VAE example outdated

Open
#3,666 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
7.3k
Forks
833
Avg merge
5h 11m
Merged PRs (30d)
5

Description

The VAE example in /flax/examples/vae seems to have some outdated requirements, jax.random usage, and absl.flags usage.

Modifications I made to get the example running:

- change jax.random.key to jax.random.PRNGKey
- install clu==0.0.10
- run main.py without workdir argument (change README to not use --workdir)

### System information
- jax==0.4.6
- flax==0.6.9
- other requirements installed from requirements.txt

I'd be happy to open a PR with these changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.