Skip to content

PyImageSearch Tutorial on JAX Part 1 #14592

Discussion options

You must be logged in to vote

This looks great! A couple comments on a read-through of the first section:

  • On installation: pip install jax won't work by itself; you also need to install a backend-specific jaxlib. See https://github.com/google/jax#installation for more info
  • It seems strange to delve into the details of autograd, because for the most part JAX supersedes that package. If it's a JAX tutorial, why not focus on how to do autodiff with JAX?
  • The tutorial says it's written with JAX 0.4.1, but then mentions DeviceArray which was removed in v0.4.1. (see https://jax.readthedocs.io/en/latest/jax_array_migration.html#jax-array-migration). You might check that the JAX version used in your code snippets matches the …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ariG23498
Comment options

@ariG23498
Comment options

Answer selected by ritwikraha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants