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

Fix(BOP): Reset max samples to 50 #486

Merged
merged 1 commit into from
Feb 17, 2022
Merged

Conversation

MartinSmeyer
Copy link
Member

#485

This should reduce the rendering time a lot and allows generating the original BOP data.

@themasterlink
Copy link
Contributor

themasterlink commented Feb 17, 2022

BlenderProcHelper result for run 210:

Done with:
[`amass_human_poses_python 23s`, `bop_object_on_surface_sampling 24s`, `bop_object_on_surface_sampling_python 38s`, `bop_object_physics_positioning 55s`, `bop_object_physics_positioning_python 56s`, `bop_object_pose_sampling_0 20s`, `bop_object_pose_sampling_0_python 26s`, `bop_object_pose_sampling_1 20s`, `bop_object_pose_sampling_1_python 27s`, `bop_scene_replication 91s`, `bop_scene_replication_python 96s`, `dust_python 24s`, `front_3d_python 105s`, `front_3d_with_improved_mat 17s`, `front_3d_with_improved_mat_python 111s`, `motion_blur_rolling_shutter_python 19s`, `multi_render_python 121s`, `physics_convex_decomposition 242s`, `random_room_constructor 23s`, `random_room_constructor_python 110s`, `replica 33s`, `replica_python 74s`, `rock_essentials 35s`, `scenenet_python 48s`, `scenenet_with_cctextures_python 46s`, `shapenet_with_scenenet_python 47s`, `shapenet_with_suncg 19s`, `shapenet_with_suncg_python 60s`, `stereo_matching 168s`, `stereo_matching_python 171s`, `suncg_basic 31s`, `suncg_basic_python 32s`, `suncg_with_cam_sampling 21s`, `suncg_with_cam_sampling_python 58s`, `suncg_with_improved_mat 16s`, `suncg_with_improved_mat_python 78s`, `suncg_with_object_replacer 21s`, `suncg_with_object_replacer_python 59s`]
Quicker Examples: [amass_human_poses 10s, auto_shading 3s, auto_shading_python 5s, basic 4s, basic_python 6s, blenderkit 4s, blenderkit_python 13s, camera_depth_of_field 2s, camera_depth_of_field_python 13s, camera_object_pose 5s, camera_object_pose_python 8s, camera_sampling 2s, camera_sampling_python 15s, coco_annotations 5s, coco_annotations_python 10s, diffuse_color_image 2s, diffuse_color_image_python 15s, dust 2s, entity_displacement_modifier 4s, entity_displacement_modifier_python 7s, entity_manipulation 4s, entity_manipulation_python 6s, front_3d 14s, git_log 1s, haven 3s, haven_python 15s, ikea 2s, ikea_python 11s, lens_distortion 4s, lens_distortion_python 9s, lens_distortion_python 8s, light_sampling 4s, light_sampling_python 8s, material_manipulation 4s, material_manipulation_python 6s, material_randomizer 3s, material_randomizer_python 6s, motion_blur_rolling_shutter 9s, motion_blur_rolling_shutter 8s, motion_blur_rolling_shutter_python 15s, nocs_python 12s, object_pose_sampling 3s, object_pose_sampling_python 6s, on_surface_object_sampling 3s, on_surface_object_sampling_python 6s, optical_flow 9s, optical_flow_python 15s, physics_convex_decomposition_python 11s, physics_positioning 10s, physics_positioning_python 15s, pix3d 2s, pix3d_python 11s, random_backgrounds 3s, random_backgrounds_python 12s, scenenet 5s, scenenet_with_cctextures 9s, semantic_segmentation 5s, semantic_segmentation_python 7s, shapenet 3s, shapenet_python 12s, shapenet_with_scenenet 4s, tests_python 2s]

Done with 100 of 100 tests.
There were errors:
The output of random_backgrounds:main_python:coco_data_coco_annotations_json has changed:

compare.json newly_generated.json difference.json

The output of ikea:config_yaml:colors has changed: Diff: 0.02472814731299877, pixel diff: 0.20991388956705728

Compare image Newly generated image

The output of ikea:config_yaml:normals has changed: Diff: 0.04633525386452675, pixel diff: 0.14694722493489584

Compare image Newly generated image

The output of ikea:main_python:colors has changed: Diff: 0.02472933568060398, pixel diff: 0.20990753173828125

Compare image Newly generated image

The output of ikea:main_python:depth has changed: Diff: 0.12407145649194717, pixel diff: 0.20218658447265625

Compare image Newly generated image

The output of ikea:main_python:normals has changed: Diff: 0.04633443430066109, pixel diff: 0.14692306518554688

Compare image Newly generated image

The output of ikea:main_python:colors has changed: Diff: 0.13673029839992523, pixel diff: 0.4496358235677083

Compare image Newly generated image

The output of ikea:main_python:depth has changed: Diff: 0.29440829157829285, pixel diff: 0.33116912841796875

Compare image Newly generated image

The output of ikea:main_python:normals has changed: Diff: 0.07676932960748672, pixel diff: 0.23820622762044272

Compare image Newly generated image

The output of ikea:main_python:colors has changed: Diff: 0.033839039504528046, pixel diff: 0.18212890625

Compare image Newly generated image

The output of ikea:main_python:depth has changed: Diff: 0.12395184487104416, pixel diff: 0.16942977905273438

Compare image Newly generated image

The output of ikea:main_python:normals has changed: Diff: 0.040282346308231354, pixel diff: 0.15715789794921875

Compare image Newly generated image

The output of ikea:main_python:colors has changed: Diff: 0.031914208084344864, pixel diff: 0.21593856811523438

Compare image Newly generated image

The output of ikea:main_python:depth has changed: Diff: 0.15624120831489563, pixel diff: 0.2180023193359375

Compare image Newly generated image

The output of ikea:main_python:normals has changed: Diff: 0.04922109469771385, pixel diff: 0.17059326171875

Compare image Newly generated image

The output of ikea:main_python:colors has changed: Diff: 0.06493246555328369, pixel diff: 0.2587127685546875

Compare image Newly generated image

The output of ikea:main_python:depth has changed: Diff: 0.17579244077205658, pixel diff: 0.2616462707519531

Compare image Newly generated image

The output of ikea:main_python:normals has changed: Diff: 0.058451395481824875, pixel diff: 0.2089360555013021

Compare image Newly generated image

The output of random_room_constructor:config_yaml:colors has changed: Diff: 0.2645534873008728, pixel diff: 0.9859517415364584

Compare image Newly generated image

The output of random_room_constructor:config_yaml:depth has changed: Diff: 0.04322178289294243, pixel diff: 0.6914901733398438

Compare image Newly generated image

The output of random_room_constructor:main_python:colors has changed: Diff: 0.27923521399497986, pixel diff: 0.9798151652018229

Compare image Newly generated image

The output of random_room_constructor:main_python:depth has changed: Diff: 0.05459853634238243, pixel diff: 0.8605232238769531

Compare image Newly generated image

The output of random_room_constructor:main_python:colors has changed: Diff: 0.2383549064397812, pixel diff: 0.9654083251953125

Compare image Newly generated image

The output of random_room_constructor:main_python:depth has changed: Diff: 0.018065232783555984, pixel diff: 0.5596427917480469

Compare image Newly generated image

The output of random_room_constructor:main_python:colors has changed: Diff: 0.26926249265670776, pixel diff: 0.9703241984049479

Compare image Newly generated image

The output of random_room_constructor:main_python:depth has changed: Diff: 0.05152072012424469, pixel diff: 0.7841644287109375

Compare image Newly generated image

The output of random_room_constructor:main_python:colors has changed: Diff: 0.2112330198287964, pixel diff: 0.9505106608072916

Compare image Newly generated image

The output of random_room_constructor:main_python:depth has changed: Diff: 0.031375885009765625, pixel diff: 0.8371505737304688

Compare image Newly generated image

The output of random_room_constructor:main_python:colors has changed: Diff: 0.260999470949173, pixel diff: 0.9795583089192709

Compare image Newly generated image

The output of random_room_constructor:main_python:depth has changed: Diff: 0.03217088803648949, pixel diff: 0.8165168762207031

Compare image Newly generated image

The output of material_manipulation:config_yaml:colors has changed: Diff: 0.1011863425374031, pixel diff: 0.6572532653808594

Compare image Newly generated image

The output of material_manipulation:config_yaml:colors has changed: Diff: 0.06530710309743881, pixel diff: 0.5646794637044271

Compare image Newly generated image

The output of material_manipulation:main_python:colors has changed: Diff: 0.10118880122900009, pixel diff: 0.6572456359863281

Compare image Newly generated image

The output of material_manipulation:main_python:colors has changed: Diff: 0.06530606001615524, pixel diff: 0.5646921793619791

Compare image Newly generated image

Logs of the error examples:

There are config files, which have not been tested:

The tests are done.
Check the log:
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-bws7x0j2 because the default path (/run/user/89750/.cache/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Matplotlib is building the font cache; this may take a moment.
${INTERNAL_NODES_DISC_SPACE}/Maximilian_Denninger/BlenderProcTest_for_486/BlenderProc/blenderproc/scripts/visHdf5Files.py:64: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (matplotlib.pyplot.figure) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam figure.max_open_warning).
plt.figure()

Last update: 02/17/2022, 11:13:15

@MartinSmeyer MartinSmeyer merged commit f739f3d into main Feb 17, 2022
@MartinSmeyer MartinSmeyer deleted the iss_485_reset_max_samples_bop branch February 17, 2022 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants