Skip to main content

A Python framework interfacing AI with numerical simulation.

Project description

DeepPhysX

logo

Interfacing AI with simulation

The DeepPhysX project provides Python packages allowing users to easily interface their numerical simulations with learning algorithms.

DeepPhysX provides a Core package with no dependency on any simulation or AI framework. Then other packages are compatible with this Core and a specific simulation or AI framework:

Features

DeepPhysX is a full Python3 projects with 3 main features:

  • Generate a dataset with synthetic data from numerical simulations;
  • Train an artificial neural network with a synthetic dataset;
  • Use the predictions of a trained network in a numerical simulation.

The full list of features is detailed in the documentation.

Quick install

The project was initially developed using SOFA as the simulation package and PyTorch as the AI framework. Thus, DeepPhysX is mainly designed for these frameworks, but obviously other frameworks can also be used. The packages corresponding to these frameworks will therefore be used for the default installation.

The easiest way to install is using pip, but there are a several way to install and configure a DeepPhysX environment (refer to the documentation for further instructions).

$ pip install DeepPhysX             # Install default package
$ pip install DeepPhysX.Sofa        # Install simulation package
$ pip install DeepPhysX.Torch       # Install AI package

Demos

DeepPhysX includes a set of detailed tutorials, examples and demos. As these scripts are producing data, they cannot be run in the python site-packages, thus they should be run locally. Use the command line interface to get the examples or to run interactive demos:

$ DPX --get             # Get the full example repository locally
$ DPX --run <demo>      # Run one of the demo scripts
Armadillo
DPX -r armadillo
Beam
DPX -r beam
Liver
DPX -r liver
armadillo beam liver

References

Did this project help you for your research ? Please cite us as:

R. Enjalbert, A. Odot and S. Cotin, DeepPhysX, a python framework to interface AI with numerical simulation, Zenodo, 2022, DOI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DeepPhysX-22.12.1.tar.gz (98.0 kB view details)

Uploaded Source

Built Distribution

DeepPhysX-22.12.1-py3-none-any.whl (144.6 kB view details)

Uploaded Python 3

File details

Details for the file DeepPhysX-22.12.1.tar.gz.

File metadata

  • Download URL: DeepPhysX-22.12.1.tar.gz
  • Upload date:
  • Size: 98.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for DeepPhysX-22.12.1.tar.gz
Algorithm Hash digest
SHA256 2f538daab7ae1f479a65da557f356897d71743d84b8717e24f8f785b58333ff1
MD5 8e1e9cd2ee86dc19fdfb3a8a2b7eacbc
BLAKE2b-256 47a0b9d620fd5d7088ee71c8c5a6e3d5619a3fcc6071f8ceaf570911411a2d5f

See more details on using hashes here.

File details

Details for the file DeepPhysX-22.12.1-py3-none-any.whl.

File metadata

  • Download URL: DeepPhysX-22.12.1-py3-none-any.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for DeepPhysX-22.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e239527d960ff4d0d9b297f20a7c02ede216d22f02450551b839b966382ed6eb
MD5 b20260ae5cf49c39490bbdf086ce7d54
BLAKE2b-256 fb67c9866f5bc87fbdf8b5d250b6b8455171c7321445b56876baddb0345dbbff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page