Skip to content

Commit

Permalink
Up
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhenghao committed Dec 16, 2024
1 parent d09cbc4 commit 672f7e3
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions documentation/source/simgen_render.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@
"name": "stderr",
"output_type": "stream",
"text": [
"\u001b[38;20m[INFO] Environment: ScenarioEnv\u001b[0m\n",
"\u001b[38;20m[INFO] MetaDrive version: 0.4.3\u001b[0m\n",
"\u001b[38;20m[INFO] Sensors: [lidar: Lidar(), side_detector: SideDetector(), lane_line_detector: LaneLineDetector(), depth_camera: DepthCamera(800, 450), rgb_camera: RGBCamera(800, 450), seg_camera: SemanticCamera(800, 450)]\u001b[0m\n",
"\u001b[38;20m[INFO] Render Mode: offscreen\u001b[0m\n",
"\u001b[38;20m[INFO] Horizon (Max steps per agent): 1000\u001b[0m\n"
"\u001B[38;20m[INFO] Environment: ScenarioEnv\u001B[0m\n",
"\u001B[38;20m[INFO] MetaDrive version: 0.4.3\u001B[0m\n",
"\u001B[38;20m[INFO] Sensors: [lidar: Lidar(), side_detector: SideDetector(), lane_line_detector: LaneLineDetector(), depth_camera: DepthCamera(800, 450), rgb_camera: RGBCamera(800, 450), seg_camera: SemanticCamera(800, 450)]\u001B[0m\n",
"\u001B[38;20m[INFO] Render Mode: offscreen\u001B[0m\n",
"\u001B[38;20m[INFO] Horizon (Max steps per agent): 1000\u001B[0m\n"
]
}
],
Expand Down Expand Up @@ -279,14 +279,14 @@
"name": "stderr",
"output_type": "stream",
"text": [
"\u001b[38;20m[INFO] Assets version: 0.4.3\u001b[0m\n",
"\u001b[38;20m[INFO] Known Pipes: glxGraphicsPipe\u001b[0m\n",
"\u001b[38;20m[INFO] Assets version: 0.4.3\u001b[0m\n",
"\u001b[38;20m[INFO] Known Pipes: glxGraphicsPipe\u001b[0m\n",
"\u001b[33;20m[WARNING] You are using too large buffer! The height is 450, and width is 800. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:49)\u001b[0m\n",
"\u001b[33;20m[WARNING] You are using too large buffer! The height is 450, and width is 800. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:49)\u001b[0m\n",
"\u001b[33;20m[WARNING] You are using too large buffer! The height is 450, and width is 800. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:49)\u001b[0m\n",
"\u001b[38;20m[INFO] Start Scenario Index: 0, Num Scenarios : 9\u001b[0m\n"
"\u001B[38;20m[INFO] Assets version: 0.4.3\u001B[0m\n",
"\u001B[38;20m[INFO] Known Pipes: glxGraphicsPipe\u001B[0m\n",
"\u001B[38;20m[INFO] Assets version: 0.4.3\u001B[0m\n",
"\u001B[38;20m[INFO] Known Pipes: glxGraphicsPipe\u001B[0m\n",
"\u001B[33;20m[WARNING] You are using too large buffer! The height is 450, and width is 800. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:49)\u001B[0m\n",
"\u001B[33;20m[WARNING] You are using too large buffer! The height is 450, and width is 800. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:49)\u001B[0m\n",
"\u001B[33;20m[WARNING] You are using too large buffer! The height is 450, and width is 800. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:49)\u001B[0m\n",
"\u001B[38;20m[INFO] Start Scenario Index: 0, Num Scenarios : 9\u001B[0m\n"
]
},
{
Expand All @@ -300,7 +300,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"\u001b[38;20m[INFO] Episode ended! Scenario Index: 0 Scenario id: scene-0061 Reason: arrive_dest.\u001b[0m\n",
"\u001B[38;20m[INFO] Episode ended! Scenario Index: 0 Scenario id: scene-0061 Reason: arrive_dest.\u001B[0m\n",
"\n",
"00%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 191/191 [00:10<00:00, 17.68it/s]"
]
Expand Down Expand Up @@ -354,6 +354,8 @@
" # import matplotlib.pyplot as plt;plt.imshow(vis);plt.show()\n",
" frames.append(vis)\n",
"\n",
"env.close()\n",
"\n",
"# Show video\n",
"media.show_video(frames, fps=fps, width=600)"
]
Expand Down

0 comments on commit 672f7e3

Please sign in to comment.