John Franklin Crenshaw
John Franklin Crenshaw
I noticed a new icon appeared next to my figures - the red recycling icon: What does that mean? When I click on it, it takes me to the same...
**Describe the bug** Importing elegy after a fresh install is now broken. This is because [jax v0.2.21 removed `jax.api`](https://github.com/google/jax/releases/tag/jax-v0.2.21). `jax.api` is imported by the version of haiku that installs with...
This might be helpful: https://stackoverflow.com/questions/19201972/can-numpy-bincount-work-with-2d-arrays
Might be able to further optimize jax code by using `lax.cond` to control if statements (see e.g. [here](https://jax.readthedocs.io/en/latest/notebooks/Common_Gotchas_in_JAX.html)), and by jitting bijectors/class methods
Some refactoring needs to be done. In particular, look at the `__init__` and `posterior` methods, as these are quite large and unwieldly.
Simplify/streamline tests, and switch onp/np -> np/jnp
Is there an example for using the NeuralSplineCoupling? I tried starting with the example notebook `intro.ipynb`, and just replaced the MAF with ``` bijection = flows.Serial( *(flows.NeuralSplineCoupling(K=8, B=1, hidden_dim=128), flows.Reverse())*2...
When drawing a chromatic PSF using photon shooting, the `save_photons` parameter does not seem to work. For example, the following achromatic code works fine: ```python psf = galsim.Airy(lam=500, diam=8) image...
I spent a while trying to figure out why my dependency graph wasn't working like I expected. I eventually realized that in `showyourwork.yml/dependencies`, the name of the script had a...