Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacobusmmsmit/social-force-jax
An implementation of a simple Social Force model in JAX
https://github.com/jacobusmmsmit/social-force-jax
social-force-model
Last synced: about 1 month ago
JSON representation
An implementation of a simple Social Force model in JAX
- Host: GitHub
- URL: https://github.com/jacobusmmsmit/social-force-jax
- Owner: jacobusmmsmit
- License: mit
- Created: 2022-07-26T12:21:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-01T18:19:45.000Z (over 2 years ago)
- Last Synced: 2024-10-13T19:36:50.768Z (3 months ago)
- Topics: social-force-model
- Language: Python
- Homepage:
- Size: 23.6 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# social-force-jax
An implementation of a simple Social Force model in JAX + Diffrax as well as a differentiable density-based optimisation of the parameters with Optax or numpyro.To run the code in this repo, install the poetry package manager, navigate to the folder, and run `poetry install`. This will install all dependencies.
Note: The local file imports are kinda messed up for this repo, you may need to play around with the path to get it working properly.
### Known issues:
* The wall force sometimes lets pedestrians escape (see animation), oops.