Giter Club home page Giter Club logo

deepphysx's Introduction

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

deepphysx's People

Contributors

robinenjalbert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.