Giter Site home page Giter Site logo

ndcf_envs's Introduction

NDCF Environments

Isaac Gym (Preview) environments for the Neural Deforming Contact Fields project.

Setup

We use two environments: one for running the simulation and another for post-processing the resulting meshes, pointclouds, wrenches etc. into data ready to train our networks.

Simulation Environment

Follow Nvidia's instructions here to install Isaac Gym to a conda environment. Other required packages can be found in sim_environment.yaml.

Processing Environment

Setup processing conda environment with proc_environment.yaml.

Running

Running the simulation

To collect a new dataset of simulated presses, use your simulation environment python to run the following:

python ncf_envs/sample_sim_presses_gen_terrain_proc.py cfg/primitives/ridge.yaml -o <out> -n <num> -e 1

This will run the simulation for <num> episodes and save the results to <out>. Switch out cfg/primitives/ridge.yaml for other configuration files found in cfg/primitives/ to run with different environments. This script does wraps Isaac Gym in a process to catch simulation failures that are tricky to detect and automatically starts from where it left off.

Post-Processing

Once the dataset has been collected, use your processing env python to run the following to generate SDF samples, pointclouds, meshes, etc. to be used during training and evaluation.

python ncf_envs/process_sim_data.py <output directory used by simulator> <path to tool .tet file used in simulation>

Default path for sponge is: assets/meshes/sponge/sponge_2/sponge_2.tet

ndcf_envs's People

Contributors

mvandermerwe avatar yswi avatar

Stargazers

SangjunNoh avatar Nguyen Le Ngoc Tran avatar

Watchers

 avatar Nima Fazeli avatar

Forkers

trannguyenle95

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.