GithubHelp home page GithubHelp logo

icaruswizard / distracting_control Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sahandrez/distracting_control

0.0 0.0 0.0 37 KB

Python package for the Distracted Control Suite

Home Page: https://github.com/google-research/google-research/tree/master/distracting_control

License: Apache License 2.0

Python 100.00%

distracting_control's Introduction

The Distracting Control Suite


This is a copy of the original distracting_control repository, with the only changes being the reorganization of the package to be able to install and easily use in other codes. Additionally, dependency on TensorFlow has been completely removed. Simply clone this repo and run pip install -e ..

distracting_control extends dm_control with static or dynamic visual distractions in the form of changing colors, backgrounds, and camera poses. Details and experimental results can be found in our paper.

Requirements and Installation

  • Clone this repository
  • sh run.sh
  • Follow the instructions and install dm_control. Make sure you setup your MuJoCo keys correctly.
  • Download the DAVIS 2017 dataset. Make sure to select the 2017 TrainVal - Images and Annotations (480p). The training images will be used as distracting backgrounds.

Instructions

  • You can run the distracting_control_demo to generate sample images of the different tasks at different difficulties:

    python distracting_control_demo --davis_path=$HOME/DAVIS/JPEGImages/480p/
    --output_dir=/tmp/distrtacting_control_demo
    
  • As seen from the demo to generate an instance of the environment you simply need to import the suite and use suite.load while specifying the dm_control domain and task, then choosing a difficulty and providing the dataset_path.

  • Note the environment follows the dm_control environment APIs.

Paper

If you use this code, please cite the accompanying paper as:

@article{stone2021distracting,
      title={The Distracting Control Suite -- A Challenging Benchmark for Reinforcement Learning from Pixels}, 
      author={Austin Stone and Oscar Ramirez and Kurt Konolige and Rico Jonschkowski},
      year={2021},
      journal={arXiv preprint arXiv:2101.02722},
}

Disclaimer

This is not an official Google product.

distracting_control's People

Contributors

icaruswizard avatar sahandrez 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.