Skip to main content

A TensorFlow-powered python toolbox to train deep neural networks to perform motor tasks.

Project description

MotorNet

This repository contains motornet, a python package that allows training recurrent neural networks to control for biomechanically realistic effectors. This toolbox is designed to meet several goals:

  • No hard dependencies beyond typically available python packages. This should make it easier to run this package on remote computing units.
  • Provide users with a variety of muscle types to chose from.
  • Flexibility in creating new, arbitrary muscle wrappings around the skeleton, to enable fast exploration of different potential effectors and how to control them. The moment arm are calculated online according to the geometry of the skeleton and the (user-defined) paths of the muscles.
  • User-friendly API, to allow for easier familiarization and intuitive usage. We want to enable a focus on ideas, not implementation. The toolbox focuses on subclassing to allow users to implement their custom task designs, custom plants, and custom controller networks.

State of the project

The package is technically functional, and is used by several people to progress in their research. However we are still in testing and development (pre-alpha), and we are currently focusing on documenting, commenting, and cleaning the code. For now, the package is available "as-is" but we hope to soon move to an alpha and beta stage. Please feel free to log an issue if you think you found a bug, we appreciate any contribution. Stay tuned for more!

An online documentation is currently being built. It is available here: https://oliviercodol.github.io/MotorNet/build/html/index.html

Dependencies

There are no dependencies outside of Python 3. The packages required for MotorNet to function are:

  • Tensorflow (successfully tested with v2.9.0)
  • NumPy (successfully tested with v1.22.3)

Tutorials

There are several tutorials available to get you started (see tutorials folder). Hopefully they will give a sense of how the API is supposed to work. As indicated above, more furnished documentation is on the way, hopefully very soon.

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

motornet-0.1.0.tar.gz (9.8 MB view hashes)

Uploaded Source

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