From b247176da97208d6203693a3523aaca772cc9b12 Mon Sep 17 00:00:00 2001 From: pengzhenghao Date: Tue, 13 Feb 2024 15:01:39 -0800 Subject: [PATCH] introduce a test script --- metadrive/tests/local_tests/local_test_headless_rendering.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadrive/tests/local_tests/local_test_headless_rendering.py b/metadrive/tests/local_tests/local_test_headless_rendering.py index a988385fd..638bf90e8 100644 --- a/metadrive/tests/local_tests/local_test_headless_rendering.py +++ b/metadrive/tests/local_tests/local_test_headless_rendering.py @@ -69,6 +69,7 @@ screen_size=(1600, 900), film_size=(9000, 9000), target_vehicle_heading_up=True, + semantic_map=True, ) for t in range(10000): @@ -81,6 +82,7 @@ screen_size=(1600, 900), film_size=(9000, 9000), target_vehicle_heading_up=True, + semantic_map=True, to_image=False ) pygame.image.save(ret, str(file_dir / "bev_{}.png".format(t)))