Closed ll-II closed 4 years ago
Hello,
I think there might be a problem with the synthetic data generation: ycb_dataset.py, function gen_synthetic, from line 147:
In my case the class_mask was not correctly generated:
I used this code to generate the keypoint with the function 'gen_kp_gt'
I could fix the issue by changing l. 147 and l. 151 :
class_ids = meta['cls_indexes'][0] class_mask = np.where(seg_label == cid)
I'm confused, can you provide a visualization to explain why it's wrong?
Feel free to reopen it if necessary.
Hello,
I think there might be a problem with the synthetic data generation: ycb_dataset.py, function gen_synthetic, from line 147:
In my case the class_mask was not correctly generated:
I used this code to generate the keypoint with the function 'gen_kp_gt'
I could fix the issue by changing l. 147 and l. 151 :
class_ids = meta['cls_indexes'][0]
class_mask = np.where(seg_label == cid)