Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 3, 2024
1 parent a725a87 commit e33b963
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/unittest/linux_sota/scripts/test_sota.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@
logger.backend=
""",
"dreamer": """python sota-implementations/dreamer/dreamer.py \
collector.total_frames=200 \
collector.total_frames=600 \
collector.init_random_frames=10 \
collector.frames_per_batch=200 \
env.n_parallel_envs=1 \
optimization.optim_steps_per_batch=1 \
logger.video=True \
logger.video=False \
logger.backend=csv \
replay_buffer.buffer_size=120 \
replay_buffer.batch_size=24 \
Expand Down
6 changes: 4 additions & 2 deletions sota-implementations/dreamer/dreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,10 @@ def compile_rssms(module):

t_collect_init = time.time()

test_env.close()
train_env.close()
if not test_env.is_closed:
test_env.close()
if not train_env.is_closed:
train_env.close()
collector.shutdown()

del test_env
Expand Down

0 comments on commit e33b963

Please sign in to comment.