Skip to content

Commit

Permalink
ready for polish walldash
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiyotech committed Feb 10, 2023
1 parent 41d193b commit 724e63b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions learner_walldash.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
boost_remain_touch_w=2,
boost_remain_touch_object_w=2,
tick_skip=Constants_walldash.FRAME_SKIP,
walldash_w=0.175,
walldash_w=0.15,
end_object=end_object,
end_touched=end_touched,
),
Expand Down Expand Up @@ -149,10 +149,10 @@

)

alg.load("walldash_saves/Opti_1675879042.6467128/Opti_70/checkpoint.pt")
alg.load("walldash_saves/Opti_1675888625.8272996/Opti_1260/checkpoint.pt")
alg.agent.optimizer.param_groups[0]["lr"] = logger.config.actor_lr
alg.agent.optimizer.param_groups[1]["lr"] = logger.config.critic_lr

alg.freeze_policy(20)
alg.freeze_policy(50)

alg.run(iterations_per_save=logger.config.save_every, save_dir="walldash_saves")
2 changes: 1 addition & 1 deletion worker_walldash.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
boost_remain_touch_w=2,
boost_remain_touch_object_w=2,
tick_skip=Constants_walldash.FRAME_SKIP,
walldash_w=0.175,
walldash_w=0.15,
end_object=end_object,
end_touched=end_touched,
)
Expand Down

0 comments on commit 724e63b

Please sign in to comment.