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 pools termination in BOP dataset generation #1086

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clabot
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"contributors": ["MartinSmeyer", "themasterlink", "cornerfarmer", "wboerdijk", "MarkusKnauer", "maximilianmuehlbauer", "wangg12", "alexander-soare", "heilaw", "5trobl", "marcelhohn", "ffurrer", "apenzko", "Victorlouisdg", "MarwinNumbers", "jascase901", "muedavid", "andrewyguo", "YouJiacheng", "Sebastian-Jung", "stevenpclark", "jung-se", "hansaskov", "HectorAnadon", "NnamdiN", "eliphatfs", "saprrow", "woodbridge", "fortminors", "beekama", "AndreyYashkin", "burcam"],
"contributors": ["MartinSmeyer", "themasterlink", "cornerfarmer", "wboerdijk", "MarkusKnauer", "maximilianmuehlbauer", "wangg12", "alexander-soare", "heilaw", "5trobl", "marcelhohn", "ffurrer", "apenzko", "Victorlouisdg", "MarwinNumbers", "jascase901", "muedavid", "andrewyguo", "YouJiacheng", "Sebastian-Jung", "stevenpclark", "jung-se", "hansaskov", "HectorAnadon", "NnamdiN", "eliphatfs", "saprrow", "woodbridge", "fortminors", "beekama", "AndreyYashkin", "burcam", "matteomastrogiuseppe"],
"message": "For contributing to BlenderProc you need to sign our Contributor License Agreement. As an individual please sign [CLA_individuals.pdf](https://github.com/DLR-RM/BlenderProc/blob/main/CLA_individuals.pdf), as a company please sign [CLA_entities.pdf](https://github.com/DLR-RM/BlenderProc/blob/main/CLA_entities.pdf) and send it to blenderproc@dlr.de",
"label": "cla-signed"
}
4 changes: 4 additions & 0 deletions blenderproc/python/writer/BopWriterUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ def write_bop(output_dir: str, target_objects: Optional[List[MeshObject]] = None

_BopWriterUtility.calc_gt_coco(chunk_dirs=chunk_dirs, dataset_objects=dataset_objects,
starting_frame_id=starting_frame_id)

pool.close()
pool.join()



def bop_pose_to_pyrender_coordinate_system(cam_R_m2c: np.ndarray, cam_t_m2c: np.ndarray) -> np.ndarray:
Expand Down