Skip to content
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

Issues in headless / offscreen rendering; add example #644

Merged
merged 9 commits into from
Feb 20, 2024

Conversation

pengzhenghao
Copy link
Member

@pengzhenghao pengzhenghao commented Feb 13, 2024

What changes do you make in this PR?

  • Please describe why you create this PR

resolve: #632

might solve: #643

Known issue: #645 #649

Checklist

  • I have merged the latest main branch into current branch.
  • I have run bash scripts/format.sh before merging.
  • Please use "squash and merge" mode.

@pengzhenghao
Copy link
Member Author

Two severe bugs:

  1. BEV images will be injected into the image buffer (engine.win) so depth image is overwritten:
  2. Semantic map is wrong after 2nd steps.

BEV:
bev_30

DEPTH:
depth_30

RGB:
rgb_30

Semantic at 1step:
semantic_0

Semantic at 30step:
semantic_30

@pengzhenghao pengzhenghao marked this pull request as draft February 13, 2024 23:06
@pengzhenghao
Copy link
Member Author

The above result can be reproduced from:

metadrive/tests/local_tests/local_test_headless_rendering.py

in this branch fix-offscreen

@jnewb1
Copy link
Contributor

jnewb1 commented Feb 19, 2024

this also seems to be related to my failures over here running in docker: #619

@pengzhenghao pengzhenghao merged commit fc04519 into main Feb 20, 2024
14 checks passed
@pengzhenghao pengzhenghao deleted the fix-offscreen branch February 20, 2024 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merge after all tests pass Merge this PR when all tests pass!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Headless rendering: tonemap_quad is None
2 participants