Giter Club home page Giter Club logo

trevor-richardson / deep_dynamics Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 170.24 MB

This repository implements a general data-driven framework for robotic-collision detection. Train a neural network to regress future states given the current state and action. Stochatsic forward passes are used at inference time in order to produce a belief distribution over the future next state of the robot. An exponentially smoothed norm is used between the set of regressed future states and the ground truth collected in the next time-step.

Python 100.00%

deep_dynamics's Introduction

deep_dynamics

This repository implements a general data-driven framework for robotic-collision detection.

A neural network was designed to regress future states given a robot's current state and action. Stochatsic forward passes are used at inference time in order to produce a belief distribution over the next state of the robot. An exponentially smoothed norm is used between the set of regressed future states and the ground truth collected.


Demo


machine_learning

Train deep dynamics neural networks from data collected

  python train_dd.py


Visually evaluate the performance of trained deep dynamics models

  python evaluate_dd_model.py

vrep_scripts

Generates state actions pairs for training deep dynamics neural networks

  python mtr_bab_coll_data.py

vrep_scenes

The following V-REP scene needs to be running for mtr_bab_coll_data.py

  dd_motor_babbling.ttt


The following V-REP scene needs to be running for evaluate_dd_model.py

  dd_current_scene.ttt

Installing

Update config.ini BASE_DIR with the absolute path to current directory.
Packages needed to run the code:

  • numpy
  • scipy
  • python3
  • pytorch
  • vrep (vrep has instructions for importing API functions)

deep_dynamics's People

Contributors

trevor-richardson avatar

Stargazers

justiceli avatar

Watchers

James Cloos avatar justiceli avatar  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.