MsPacMan Mods and PQN Eval + Video-gen bugfix - #321
Conversation
|
The CI pipeline fail is expected since I applied a fix in the pqn_agent.py where pixel observations get normalized twice during final-video generation. So comparing it with train setup: So we get a ~255x shrink in the actual visual signal relative to what the CNN's weights expect. The conv/dense biases end up dominating the (nearly-zero) image-dependent signal, so the Q-values become almost independent of what's actually on screen, we could see that in the final video (before fix) where mspacman does nothing and get's stuck. P.S pining other group member: @benninho21 |
This reverts commit 4d17bd8.
|
Guess? generate_test_report.py line 34-36: test_outcomes_str = os.environ.get("TEST_OUTCOMES", "{}")
- test_outcomes = json.loads(test_outcomes_str)
+ test_outcomes = json.loads(test_outcomes_str) or {}
tests_success = all(outcome == "success" for outcome in test_outcomes.values()) |
@sebiwtt mind having a look? |
|
@PaulSeitz, i think the output var name in the pipeline is different from the one used as input by the report stage. trigger / collect-results sets 'test_outcome' but report wants 'test_outcomes', mind having a look? |
Test ReportThis comment was generated automatically by a GitHub Action. It summarizes the test results for this pull request. The GitHub Action run can be found here: Base Branch ✅The PR's base branch is Changed Files ✅There are no forbidden file changes. Nice 👍 Framework Tests ✅All framework tests passed. Good work! 🎉 This log was automatically created at 2026-07-20 11:38:32 UTC. |
Yeah something like that crashed the pipeline if there were no changes to specific environments. Should be fixed on dev now, in the re-run the tests show end state 'successful' now. Regarding your pqn changes, I think someone in our group found this bug as well and I expect them to push the change to the dev branch soon. So you dont have to include it in your PR here but until its on dev you can use your fixed version locally, I checked the state you had commited here earlier and its correct. The normalization wrapper application after the if/else is the incorrect way to do it. And the implementation of the mods look good as well :) |
Sweet, thanks. Yeah we did run all the tests with the fixes in-place (otherwise Wandb made no sense) and I dropped the commits with the fixes since that'll probably be topic for another PR. I guess otherwise this can be merged? It seems I'm not able to add Reviewers or Assignees to this PR. |
This PR focuses on adding the following:
small bug-fix that prevented proper train/eval and lead to video recordings being fully stuck.(will be fixed in different PR)