-
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
Fix/reset before collect in procedural examples, tests and hl experiment #1100
Fix/reset before collect in procedural examples, tests and hl experiment #1100
Conversation
…er (examples, tests, hl experiment)
…es' into fix/collect-in-procedural-examples
@bordeauxred, @MischaPanch fyi |
@MischaPanch the examples are not covered by the tests. Does it make to include them in cicd or run them once a day (if at least one commit on this day) |
Once this is merged, we will follow up and write a script which generates the benchmarks that are currently stored in the examples dir and displayed in the docs. Then we can have a manually triggered GH Action that we trigger on each release. Running examples on each PR/daily is too expensive and unnecessary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting!
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1100 +/- ##
==========================================
+ Coverage 88.21% 88.22% +0.01%
==========================================
Files 100 100
Lines 8304 8305 +1
==========================================
+ Hits 7325 7327 +2
+ Misses 979 978 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@maxhuettenrauch I thought the sac_with_il seeding problem was fixed now. Is your branch based on the updated master? Or is there some other source of randomness that we're not controlling yet? |
I doesn't fail on my machine... and it hasn't failed on other PRs, or has it? |
It fails occasionally :D, the worst kind of failing. We'll see with you next pushed commit |
Weird. It's giving me deterministic results on my machine... but maybe another machine produces different numbers on that seed. |
Well, I think this still needs some time. The atari_dqn example is broken in another place due to a recent update on master (at least for me). |
@maxhuettenrauch the L0 notebook fails for some reason, could you check locally pls? |
|
…es' into fix/collect-in-procedural-examples
@maxhuettenrauch this is finished, right? I'd merge it Do you know whether it's related (or even solves) #1111 ? |
This should (hopefully) cover all instances of the collect before training starts, yes. Regarding the other issue, I think #1077 broke it. |
poe format
poe lint
andpoe type-check
poe test
(or a subset of them with
poe test-reduced
) ,and they passpoe doc-build
Calling collector.collect currently fails if the collector is not reset before collecting. Not sure if there's also a bug in collector where it says ...It has only an effect if n_episode is not None... for the
reset_before_collect
kwarg as it also happens when collectingn_step
.