forked from vwxyzjn/cleanrl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qdagger: Reincarnate RL (vwxyzjn#344)
* Qdagger * qdagger gym to gymnasium, fix bugs and get it working again * add Student ReplayBuffer & epsilon_greedy in online phase * preliminary torch implementation * fix qdagger_dqn_atari_impalacnn * add tests * add tests * fix set real_next_obs * update style * fix update jax target network in offline phase * Fix & Overhaul * Make rich to default package & Add specific algorithm dependencies env * fix requirements files * fix requirements files * preliminary docs * fix docs * update docs link in script * add learning curves imgs * update experiment results * enhance docs * add benchmark script * update docs * update docs * auto set --teacher-policy-hf-repo * fix & update docs * fix pre-commit * fix auto set teacher_policy_hf_repo * Update qdagger.md * add compare plots --------- Co-authored-by: Adam Zhao <[email protected]>
- Loading branch information
Showing
29 changed files
with
1,305 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
poetry install -E atari | ||
OMP_NUM_THREADS=1 xvfb-run -a poetry run python -m cleanrl_utils.benchmark \ | ||
--env-ids PongNoFrameskip-v4 BeamRiderNoFrameskip-v4 BreakoutNoFrameskip-v4 \ | ||
--command "poetry run python cleanrl/qdagger_dqn_atari_impalacnn.py --track --capture-video" \ | ||
--num-seeds 3 \ | ||
--workers 1 | ||
|
||
|
||
poetry install -E "atari jax" | ||
poetry run pip install --upgrade "jax[cuda]==0.3.17" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
xvfb-run -a poetry run python -m cleanrl_utils.benchmark \ | ||
--env-ids PongNoFrameskip-v4 BeamRiderNoFrameskip-v4 BreakoutNoFrameskip-v4 \ | ||
--command "poetry run python cleanrl/qdagger_dqn_atari_jax_impalacnn.py --track --capture-video" \ | ||
--num-seeds 3 \ | ||
--workers 1 |
Oops, something went wrong.