Skip to content

Commit

Permalink
Update foreground_rendering_agent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanlu0227 authored Jul 27, 2024
1 parent af94f15 commit be68224
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chatsim/agents/foreground_rendering_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def func_blender_add_cars(self, scene):
# parallel rendering process for all frames
print(f'start rendering in parallel, process number is {scene.multi_process_num}.')
print('This may take a few minutes. To speed up the foreground rendering, you can lower the `frames` number or render not-wide images.')
print('If you find the results are incomplete, that may due to OOM. You can reduce the multi_process_num in config yaml.')
print('If you find the results are incomplete or missing, that may due to OOM. You can reduce the multi_process_num in config yaml.')
print('You can also check the log file for debugging with `save_cache` enabled in the yaml.')
self.func_parallel_blender_rendering(scene)

print(f"{colored('[Blender]', 'magenta', attrs=['bold'])} Finish rendering {real_render_frames} images.")
Expand Down Expand Up @@ -413,4 +414,4 @@ def update_depth_batch_SAM(self, scene, image_list):
overlap_depth_list.append(overlap_depth.astype(np.float32))

return overlap_depth_list


0 comments on commit be68224

Please sign in to comment.