Giter Site home page Giter Site logo

dfs's Introduction

DFS: Distillation From State-based Policy

A project under developing and exploration

Structure

configs: config yaml files for starting an experiment

Agent: An entity that can act or learn in an environment, like a living creature. Parts of the agents (like organ) please put in module.py. Now have state-based sac, visual-based sac and vanilla bc agent

Algorithm: A blueprint introduces how to train an agent. Now have only vanilla state-based and visual-based sac

Environment: Openai gym-styled environments, have methods like step(), reset() and so on. Now have dm-control and distracting cs (mention that you need to download dm-control pkg: pip install dm-control)

utils.py: Other reusable tools and components are here, specially ReplayBuffer and ContrastBuffer

TODO

Agent:

  1. Enable bc agent to update from representation, refer to https://github.com/HobbitLong/RepDistiller, you may first complete utils.py. Don't use AliasMethod in that repo, just uniformly sample. -- Done!

Algorithm:

  1. (Ours) First get a state-based sac, then use DAgger (http://arxiv.org/abs/1011.0686) and contrastive representation distillation (crd) to train a visual-based actor. You can treat it as to use crd_loss + bc_loss in the update step of DAgger. -- distill actor but not critic (which still need state infomation in training)

Others:

  1. maniskill2 env
  2. crd in both critic and actor? so that we can continue training on just observation

dfs's People

Contributors

storeblank avatar shuiqicheng avatar

Watchers

 avatar

Forkers

shuiqicheng

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.