Coder Social home page Coder Social logo

xtwentian3 / fisher_brc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanxhr/fisher_brc

0.0 0.0 0.0 5 KB

Implementation of Fisher_BRC in "Offline Reinforcement Learning with Fisher Divergence Critic Regularization" based on BRAC family.

Python 100.00%

fisher_brc's Introduction

Fisher_BRC

Implementation of Fisher_BRC in "Offline Reinforcement Learning with Fisher Divergence Critic Regularization" based on BRAC family.

Usage: Plug this file into BRAC architecture[https://github.com/google-research/google-research/tree/master/behavior_regularized_offline_rl] and run train_offline.py.

python train_offline.py \
   --alsologtostderr --sub_dir=fisher_brc+$ALPHA \
   --root_dir=$ROOT_DIR \
   --env_name=$ENV \
   --agent_name=fisher_brc \
   --data_root_dir='data' \
   --data_name=$DATA \
   --total_train_steps=$TRAIN_STEPS \
   --seed=$SEED \
   --gin_bindings="fisherbrc_agent.Agent.alpha=1.0" \
   --gin_bindings="fisherbrc_agent.Agent.train_alpha_entropy=False" \
   --gin_bindings="fisherbrc_agent.Agent.alpha_entropy=0.0" \
   --gin_bindings="train_eval_offline.model_params=(((300, 300), (200, 200), (750, 750)), 2)" \
   --gin_bindings="train_eval_offline.batch_size=256" \
   --gin_bindings="train_eval_offline.seed=$SEED" \
   --gin_bindings="train_eval_offline.weight_decays=[$L2_WEIGHT]" \
   --gin_bindings="train_eval_offline.optimizers=(('adam', 1e-3), ('adam', $PLR), ('adam', 1e-3), ('adam', 1e-3))" 

fisher_brc's People

Contributors

ryanxhr 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.