Skip to content

Commit

Permalink
fix(nyz): fix drex unittest compatibility bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PaParaZz1 committed Nov 7, 2022
1 parent 7a3e570 commit ce2e0f4
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@
),
env_manager=dict(type='subprocess'),
policy=dict(type='dqn'),
collector=dict(type='episode'),
)
cartpole_drex_dqn_create_config = EasyDict(cartpole_drex_dqn_create_config)
create_config = cartpole_drex_dqn_create_config

if __name__ == "__main__":
# or you can enter `ding -m serial -c cartpole_drex_dqn_config.py -s 0`
from ding.entry import serial_pipeline
serial_pipeline((main_config, create_config), seed=0)

0 comments on commit ce2e0f4

Please sign in to comment.