Differential geometry using jax
Project description
Jax Geometry
The code in this repository is based on the papers Differential geometry and stochastic dynamics with deep learning numerics arXiv:1712.08364 and Computational Anatomy in Theano arXiv:1706.07690.
The code is a reimplementation of the Theano Geometry library https://bitbucket.org/stefansommer/jaxgeometry/ replacing Theano with Jax https://github.com/google/jax.
The source repository is at https://bitbucket.org/stefansommer/jaxgeometry/
Who do I talk to?
Please contact Stefan Sommer sommer@di.ku.dk
Installation Instructions
Please use Python 3.X.
pip:
Install with
pip install jaxdifferentialgeometry
from the repository:
Check out the source with git sandiInstall required packages:
pip install -r requirements.txt
Use e.g. a Python 3 virtualenv:
virtualenv -p python3 .
source bin/activate
pip install -r requirements.txt
If you don't use a virtual environment, make sure that you are actually using Python 3, e.g. use pip3 instead of pip.
Alternatively, use conda:
conda install -c conda-forge jaxlib
conda install -c conda-forge jax
and similarly for the remaining requirements in requirements.txt.
Viewing the example notebooks
After cloning the source repository, start jupyter notebook
PYTHONPATH='src' jupyter notebook
Your browser should now open and you can find the example Jax Geometry notebooks in the main folder.
Why Jax?
Some good discussions about the architectural differences between autodiff frameworks: https://www.assemblyai.com/blog/why-you-should-or-shouldnt-be-using-jax-in-2022/ and http://www.stochasticlifestyle.com/engineering-trade-offs-in-automatic-differentiation-from-tensorflow-and-pytorch-to-jax-and-julia/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jaxdifferentialgeometry-0.9.4.tar.gz.
File metadata
- Download URL: jaxdifferentialgeometry-0.9.4.tar.gz
- Upload date:
- Size: 53.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04acb2b10508301df63a3ddd173b5a350a1bc6943d8957abaa074302f3beadc7
|
|
| MD5 |
a9d0b957720d67480a6fa2de29e31c70
|
|
| BLAKE2b-256 |
f74ac6427c466a17da2dfd6d7fd132042ee99dbb1d6131947f22b7a03176a782
|
File details
Details for the file jaxdifferentialgeometry-0.9.4-py3-none-any.whl.
File metadata
- Download URL: jaxdifferentialgeometry-0.9.4-py3-none-any.whl
- Upload date:
- Size: 101.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f6454c8c1c0e72d4574befdb3125f28ac5f448b6a87b7c899fd6854784b1119
|
|
| MD5 |
026cb6d51852c0ec4af47fa1e25e9b87
|
|
| BLAKE2b-256 |
f4f80aaf4e96f52875b8267c988ef49974be85fb7eb094f23b7b5f608f9860c4
|