Created
September 23, 2022 23:48
-
-
Save bri25yu/46107808555668a9ed618eb2fbc2f991 to your computer and use it in GitHub Desktop.
CS285 Hw2 Vectorize env testing in colab
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
# Without vectorization | |
time python cs285/scripts/run_hw2.py \ | |
--exp_name q1_sb_no_rtg_dsa \ | |
--env_name CartPole-v0 \ | |
-n 10 \ | |
-b 10000 \ | |
--multiprocess_gym_envs 1 | |
# With vectorization | |
time python cs285/scripts/run_hw2.py \ | |
--exp_name q1_sb_no_rtg_dsa \ | |
--env_name CartPole-v0 \ | |
-n 10 \ | |
-b 10000 \ | |
--multiprocess_gym_envs 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment