1. 15 12月, 2021 1 次提交
  2. 14 12月, 2021 4 次提交
    • N
      fix(nyz): fix PER indice repeat unittest bug · ff31a86b
      niuyazhe 提交于
      ff31a86b
    • W
      polish(nyp): fix unittest for trex training and collecting (#144) · f089d02a
      Will-Nie 提交于
      * add trex algorithm for pong
      
      * sort style
      
      * add atari, ll,cp; fix device, collision; add_ppo
      
      * add accuracy evaluation
      
      * correct style
      
      * add seed to make sure results are replicable
      
      * remove useless part in cum return  of model part
      
      * add mujoco onppo training pipeline; ppo config
      
      * improve style
      
      * add sac training config for mujoco
      
      * add log, add save data; polish config
      
      * logger; hyperparameter;walker
      
      * correct style
      
      * modify else condition
      
      * change rnd to trex
      
      * revise according to comments, add eposode collect
      
      * new collect mode for trex, fix all bugs, commnets
      
      * final change
      
      * polish after the final comment
      
      * add readme/test
      
      * add test for serial entry of trex/gcl
      
      * sort style
      
      * change mujoco to cartpole for test for trex_onppo
      
      * remove files generated by testing
      
      * revise tests for entry
      
      * sort style
      
      * revise tests
      
      * modify pytest
      
      * fix(nyz): speed up ppg/ppo and marl algo unittest
      
      * polish(nyz): speed up trex unittest and fix trex entry default config bug
      
      * fix(nyz): fix same name bug
      
      * fix(nyz): fix remove conflict bug(ci skip)
      Co-authored-by: Nniuyazhe <niuyazhe@sensetime.com>
      f089d02a
    • N
      973e33e2
    • W
      polish(nyp):add R2d2 comments (#149) · a2edf6a2
      Will-Nie 提交于
      * add comments for r2d2
      
      * sort style
      
      * revise according to the comments
      
      * fix style
      a2edf6a2
  3. 13 12月, 2021 1 次提交
  4. 12 12月, 2021 1 次提交
  5. 09 12月, 2021 2 次提交
    • N
      style(nyz): update intro and env doc link(ci skip) · 147d56f3
      niuyazhe 提交于
      147d56f3
    • X
      feature(xjx): refactor buffer (#129) · a490729f
      Xu Jingxin 提交于
      * Init base buffer and storage
      
      * Use ratelimit as middleware
      
      * Pass style check
      
      * Keep the return original return value
      
      * Add buffer.view
      
      * Add replace flag on sample, rewrite middleware processing
      
      * Test slicing
      
      * Add buffer copy middleware
      
      * Add update/delete api in buffer, rename middleware
      
      * Implement update and delete api of buffer
      
      * add naive use time count middleware in buffer
      
      * Rename next to chain
      
      * feature(nyz): add staleness check middleware and polish buffer
      
      * feature(nyz): add naive priority experience replay
      
      * Sample by indices
      
      * Combine buffer and storage layers
      
      * Support indices when deleting items from the queue
      
      * Use dataclass to save buffered data, remove return_index and return_meta
      
      * Add ignore_insufficient
      
      * polish(nyz): add return index in push and copy same data in sample
      
      * Drop useless import
      
      * Fix sample with indices, ensure return size is equal to input size or indices size
      
      * Make sure sampled data in buffer is different from each other
      
      * Support sample by grouped meta key
      
      * Support sample by rolling window
      
      * Add import/export data in buffer
      
      * Padding after sampling from buffer
      
      * Polish use_time_check
      
      * Use buffer as dataset
      
      * Set collate_fn in buffer test
      
      * feature(nyz): add deque buffer compatibility wrapper and demo
      
      * polish(nyz): polish code style and add pong dqn new deque buffer demo
      
      * feature(nyz): add use_time_count compatibility in wrapper
      
      * feature(nyz): add priority replay buffer compatibility in wrapper
      
      * Improve performance of buffer.update
      
      * polish(nyz): add priority max limit and correct flake8
      
      * Use __call__ to rewrite middleware
      
      * Rewrite buffer index
      
      * Fix buffer delete
      
      * Skip first item
      
      * Rewrite buffer delete
      
      * Use caller
      
      * Use caller in priority
      
      * Add group sample
      Co-authored-by: Nniuyazhe <niuyazhe@sensetime.com>
      a490729f
  6. 08 12月, 2021 4 次提交
    • N
      fix(nyz): disable trex unittest · a7de696a
      niuyazhe 提交于
      a7de696a
    • N
      fix(nyz): fix trex unittest bugs · 234de26b
      niuyazhe 提交于
      234de26b
    • W
      feature(nyp): add Trex algorithm (#119) · 63105fef
      Will-Nie 提交于
      * add trex algorithm for pong
      
      * sort style
      
      * add atari, ll,cp; fix device, collision; add_ppo
      
      * add accuracy evaluation
      
      * correct style
      
      * add seed to make sure results are replicable
      
      * remove useless part in cum return  of model part
      
      * add mujoco onppo training pipeline; ppo config
      
      * improve style
      
      * add sac training config for mujoco
      
      * add log, add save data; polish config
      
      * logger; hyperparameter;walker
      
      * correct style
      
      * modify else condition
      
      * change rnd to trex
      
      * revise according to comments, add eposode collect
      
      * new collect mode for trex, fix all bugs, commnets
      
      * final change
      
      * polish after the final comment
      
      * add readme/test
      
      * add test for serial entry of trex/gcl
      
      * sort style
      63105fef
    • W
      feature(wyh):add masac algorithms (#112) · 18b3720a
      Weiyuhong-1998 提交于
      * fix(wyh):masac
      
      * feature(wyh):single agent discrete sac
      
      * feature(wyh):single agent discrete sac td
      
      * fix(wyh):fix pong bug
      
      * fix(wyh):fix smac bug
      
      * fix(wyh):masac_5m6m best config
      
      * env(wyh):allow SMAC env return ippo/isac obs
      
      * fix(wyh):masac polish
      
      * fix(wyh):masac style
      
      * fix(wyh):masac test
      18b3720a
  7. 06 12月, 2021 1 次提交
  8. 03 12月, 2021 5 次提交
    • N
      v0.2.2 · 312f274d
      niuyazhe 提交于
      312f274d
    • N
    • K
      feature(lk): implement multi pass DQN (#131) · f087d2c7
      Ke Li 提交于
      * feature(lk): add initial version of MP-PDQN
      
      * fix(lk): fix expand function bug
      
      * refactor(nyz): refactor mpdqn continuous args inputs module
      
      * fix(nyz): fix pdqn scatter index generation
      
      * fix(lk): fix pdqn scatter assignment bug
      
      * feature(lk): polish mpdqn code and style format
      
      * feature(lk): add mpdqn config and test file
      
      * feature(lk): polish mpdqn code and style format
      
      * fix(lk): fix import bug
      
      * polish(lk): add test for mpdqn
      
      * polish(lk): polish code style and format
      
      * polish(lk): rm print debug info
      
      * polish(lk): rm print debug info
      
      * polish(lk): polish code style and format
      
      * polish(lk): add MPDQN in readme.md
      Co-authored-by: Nniuyazhe <niuyazhe@sensetime.com>
      f087d2c7
    • D
      benchmark(davide): Bsuite memory benchmark (#138) · 5ee17ad1
      Davide Liu 提交于
      * added r2d2 + a2c configs
      
      * changed convergence reward for some env
      
      * removed configs that don't converge
      
      * removed 'on_policy' param in 2rd2 configs
      5ee17ad1
    • R
      fix(crb): fix subenvmanager reset bug (#137) · 0cfa4235
      Robin Chen 提交于
      * update base env manager and test
      
      * add test reset once
      
      * update subprecess env manager and test
      
      * format code
      
      * update picking error
      
      * add unpickle catch for sync
      
      * fix reset waitingenv bug
      0cfa4235
  9. 02 12月, 2021 1 次提交
  10. 01 12月, 2021 1 次提交
  11. 30 11月, 2021 1 次提交
  12. 26 11月, 2021 2 次提交
    • polish(pu): add loss statistics and polish r2d3 pong config (#126) · 81602ce9
      蒲源 提交于
      * fix(pu): fix adam weight decay bug
      
      * feature(pu): add pitfall offppo config
      
      * feature(pu): add qbert spaceinvaders pitfall r2d3 config
      
      * fix(pu): fix expert offfppo config in r2d3
      
      * fix(pu): fix pong connfig
      
      * polish(pu): add loss statistics
      
      * fix(pu): fix loss statistics bug
      
      * polish(pu): polish pong r2d3 config
      
      * polish(pu): polish r2d3 pong and lunarlander config
      
      * polish(pu): delete unused files
      81602ce9
    • R
      fix(crb): add renew for env manager; update retry and timeout logit for... · f88bc0e0
      Robin Chen 提交于
      fix(crb): add renew for env manager; update retry and timeout logit for subprecess env manager (#127)
      
      * update base env manager and test
      
      * add test reset once
      
      * update subprecess env manager and test
      
      * format code
      
      * update picking error
      f88bc0e0
  13. 25 11月, 2021 4 次提交
    • N
      polish(nyz): polish impala atrai config · 41dce176
      niuyazhe 提交于
      41dce176
    • W
      feature(nyp): add apple key to door treasure env(#128) · 4157cdae
      Will-Nie 提交于
      * add apple key to door treasure and polish
      
      * add test, revise reward, build four envs
      
      * add 7x7-1 ADTKT
      4157cdae
    • N
      045937e3
    • T
      feature(zt): add curiosity icm algorithm (#41) · b50e8aea
      timothijoe 提交于
      * curisity_icm_v1
      
      * modified version1
      
      * modified v2
      
      * one_hot function change
      
      * add paper information
      
      * format minigrid ppo curiosity
      
      * flake8 ding checked
      
      * 6th-Oct-gpu-modified
      
      * reset configs in minigrid files
      
      * minigird-env-doorkey88-100-300
      
      * use modulelist instead of list in icm module
      
      * change icm reward model
      
      * delete origin curiosit_reward model and add icm_reward model
      
      * modified icm reward model
      
      * polish icm model by zt, (1) polish ding/reward_model/icm_reward_model.py and related __init__.py (2) add config files for pong:dizoo/atari/config/serial/pong/pong_ppo_offpolicy_icm.py and minigrid env: dizoo/minigrid/config/doorkey8_icm_config.py,fourroom_icm_config.py,minigrid_icm_config.py  (3) add element icm in README
      
      * remove some useless config files in minigrid
      
      * remove redundant part in ppo.py, add cartpole_ppo_icm_config.py, changed test_icm.py and Readme
      b50e8aea
  14. 24 11月, 2021 3 次提交
  15. 22 11月, 2021 8 次提交
    • N
      fix(nyz): fix rnd and gae unittest bugs · 7359054c
      niuyazhe 提交于
      7359054c
    • N
      Merge branch 'fix-ppo-adv' · 39e8671d
      niuyazhe 提交于
      39e8671d
    • N
      style(nyz): correct format · 7ae259a6
      niuyazhe 提交于
      7ae259a6
    • W
      feature(wyh): add guided cost algorithm (#57) · ffe8d7c0
      Weiyuhong-1998 提交于
      * guided_cost
      
      * max_e
      
      * guided_cost
      
      * fix(wyh):fix guided cost recompute bug
      
      * fix(wyh):add model save
      
      * feature(wyh):polish guided cost
      
      * feature(wyh):on guided cost
      
      * fix(wyh):gcl-modify
      
      * fix(wyh):gcl sac config
      
      * fix(wyh):gcl style
      
      * fix(wyh):modify comments
      
      * fix(wyh):masac_5m6m best config
      
      * fix(wyh):sac bug
      
      * fix(wyh):GCL readme
      
      * fix(wyh):GCL readme conflicts
      ffe8d7c0
    • P
      polish(pu): polish value norm and fix get_gae · 7992b5d3
      puyuan1996 提交于
      7992b5d3
    • N
      v0.2.1 · cf8ad134
      niuyazhe 提交于
      cf8ad134
    • N
      fix(nyz): simplify onppo with traj_flag · 7e51de4f
      niuyazhe 提交于
      7e51de4f
    • fix(pu): fix recompute advantage in on policy ppo and polish rnd_onppo algorithm (#124) · 0b46dd24
      蒲源 提交于
      * test rnd
      
      * fix mz config
      
      * fix config
      
      * fix config
      
      * fix(pu): fix r2d2
      
      * fix(pu): fix ppo-onpolicy-rnd adv bug
      
      * fix(puyuan): fix r2d2
      
      * feature(puyuan): add minigrid r2d2 config
      
      * polish minigrid config
      
      * dev-ppo-onpolicy-rnd
      
      * fix(pu): fix rnd reward normalize bug
      
      * feature(pu): add minigrid fourrooms and doorkey env info
      
      * feature(pu): add serial_entry_onpolicy
      
      * fix(pu): fix config params of onpolicy ppo
      
      * feature(pu): add obs normalization
      
      * polish(pu): polish rnd intrinsic reward normalization
      
      * fix(pu): fix clear data bug
      
      * test(pu): add off-policy ppo config
      
      * polish(pu): polish minigrid onppo-rnd config
      
      * polish(pu): polish rnd reward model and minigrid config for rnd_onppo
      
      * polish(pu): polish minigrid rnd_onppo config
      
      * feature(pu): add gym-minigrid
      
      * fix(pu): fix ISerialEvaluator bug
      
      * fix(pu): fix cuda device compatibility
      
      * fix(pu): fix MiniGrid-ObstructedMaze-2Dlh-v0 env_id bug
      
      * polish(pu): squash rnd intrinsic reward to [0,1] according to the batch min and max
      
      * style(pu): yapf format
      
      * polich(pu):polish pitfall offppo config
      
      * polish(pu): polish rnd-onppo and onppo config
      
      * polish(pu): polish config and weight last reward
      
      * polish(pu):polish rnd-onppo config
      
      * fix(pu)" fix mujoco onppo config
      
      * fix(pu): fix continous version of  dict_data_split_traj_and_compute_adv
      
      * polish(pu):polish config
      
      * fix(pu): add key traj_flag in data to split traj correctly  when ignore_done is True in halfcheetah
      
      * polish(pu): polish annatation
      
      * polish(pu): withdraw files submitted wrongly
      
      * polish(pu): withdraw files deleted wrongly
      
      * polish(pu): polish onppo config
      
      * fix(pu): fix remaining_traj_data recompute adv bug and polish rnd onppo code
      
      * style(pu): yapf format
      
      * polish(pu): polish gae_traj_flag function
      
      * polish(pu): delete redundant function in onppo
      0b46dd24
  16. 20 11月, 2021 1 次提交