-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Trainers as generators #559
Add Trainers as generators #559
Commits on Mar 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8bad065 - Browse repository at this point
Copy the full SHA 8bad065View commit details -
Add param yield_epoch to trainers. if True, converts the function int…
…o a generator that yields a 3-tuple (epoch, stats, info) of train results on every epoch.
Configuration menu - View commit details
-
Copy full SHA for ff9c0c9 - Browse repository at this point
Copy the full SHA ff9c0c9View commit details -
Add trainer geneators for offline.py, offpolicy.py and onpolicy.py .
Add tests for trainer generators.
Configuration menu - View commit details
-
Copy full SHA for 2b72992 - Browse repository at this point
Copy the full SHA 2b72992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a6a72b - Browse repository at this point
Copy the full SHA 9a6a72bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d05f0e0 - Browse repository at this point
Copy the full SHA d05f0e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5566be0 - Browse repository at this point
Copy the full SHA 5566be0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 185c006 - Browse repository at this point
Copy the full SHA 185c006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79f050a - Browse repository at this point
Copy the full SHA 79f050aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbc7c8 - Browse repository at this point
Copy the full SHA 4cbc7c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffbe30a - Browse repository at this point
Copy the full SHA ffbe30aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f00d2 - Browse repository at this point
Copy the full SHA 23f00d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f64eb2d - Browse repository at this point
Copy the full SHA f64eb2dView commit details
Commits on Mar 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b6b0ed7 - Browse repository at this point
Copy the full SHA b6b0ed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f39eac - Browse repository at this point
Copy the full SHA 0f39eacView commit details -
improve offline.py with best practices on exhausting iterator and cle…
…aner less code keeping the same functionality
Configuration menu - View commit details
-
Copy full SHA for 21cdbe6 - Browse repository at this point
Copy the full SHA 21cdbe6View commit details -
Create an Iterator class instead of a generator function, following t…
…he sketch in offline.py
Configuration menu - View commit details
-
Copy full SHA for 2483dea - Browse repository at this point
Copy the full SHA 2483deaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88cb63c - Browse repository at this point
Copy the full SHA 88cb63cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34feb5b - Browse repository at this point
Copy the full SHA 34feb5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c7eaef - Browse repository at this point
Copy the full SHA 1c7eaefView commit details
Commits on Mar 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4067428 - Browse repository at this point
Copy the full SHA 4067428View commit details -
* Refactored trainers into One BaseTrainer class.
* All the procedures are so equal that separating them will make to much unnecessary duplicated complex code * Included tests in test_ppo.py, test_cql.py and test_rd3.py * It can be simplified even more, but would break backward Api compatibility
Configuration menu - View commit details
-
Copy full SHA for 5ca6fb8 - Browse repository at this point
Copy the full SHA 5ca6fb8View commit details -
Merge remote-tracking branch 'jamh/trainers_as_generators' into train…
…ers_as_generators
Configuration menu - View commit details
-
Copy full SHA for d705744 - Browse repository at this point
Copy the full SHA d705744View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4fa395 - Browse repository at this point
Copy the full SHA b4fa395View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91c787c - Browse repository at this point
Copy the full SHA 91c787cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1f5f25 - Browse repository at this point
Copy the full SHA c1f5f25View commit details
Commits on Mar 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b12beb1 - Browse repository at this point
Copy the full SHA b12beb1View commit details
Commits on Mar 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a4ae2e3 - Browse repository at this point
Copy the full SHA a4ae2e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0690d12 - Browse repository at this point
Copy the full SHA 0690d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2756f0 - Browse repository at this point
Copy the full SHA e2756f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c902d61 - Browse repository at this point
Copy the full SHA c902d61View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e7e2c - Browse repository at this point
Copy the full SHA a3e7e2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 651726f - Browse repository at this point
Copy the full SHA 651726fView commit details -
* fix early stopping during train train_step
* Simplify return logic
Configuration menu - View commit details
-
Copy full SHA for e6b00e2 - Browse repository at this point
Copy the full SHA e6b00e2View commit details -
* fix early stopping during train train_step
* Simplify return logic
Configuration menu - View commit details
-
Copy full SHA for 4d76843 - Browse repository at this point
Copy the full SHA 4d76843View commit details -
* fix early stopping during train train_step
* Simplify return logic
Configuration menu - View commit details
-
Copy full SHA for 23ce483 - Browse repository at this point
Copy the full SHA 23ce483View commit details
Commits on Mar 13, 2022
-
* fix early stopping during train train_step
* Simplify return logic
Configuration menu - View commit details
-
Copy full SHA for 1d707f8 - Browse repository at this point
Copy the full SHA 1d707f8View commit details -
* fix early stopping during train train_step
* Simplify return logic
Configuration menu - View commit details
-
Copy full SHA for 479b794 - Browse repository at this point
Copy the full SHA 479b794View commit details
Commits on Mar 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3adf0e1 - Browse repository at this point
Copy the full SHA 3adf0e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08f65a6 - Browse repository at this point
Copy the full SHA 08f65a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ec4eb3 - Browse repository at this point
Copy the full SHA 5ec4eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89ce44f - Browse repository at this point
Copy the full SHA 89ce44fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a320e68 - Browse repository at this point
Copy the full SHA a320e68View commit details
Commits on Mar 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6df9365 - Browse repository at this point
Copy the full SHA 6df9365View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a00daf - Browse repository at this point
Copy the full SHA 7a00dafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ce4f6d - Browse repository at this point
Copy the full SHA 3ce4f6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a62cf84 - Browse repository at this point
Copy the full SHA a62cf84View commit details