Closed Didier0 closed 2 years ago
Hi @Didier0 --- you don't need to create a new h5 for additional images. You can read them directly from the disk and pass to the generation script, a more fleshed out example is given here.
Yes, you would need to load the corresponding depth and segmentation information (based on image name).
Hi @Didier0 --- you don't need to create a new h5 for additional images. You can read them directly from the disk and pass to the generation script, a more fleshed out example is given here.
Problem is that, I can't extract area and label from seg image.
When I load that images from file, it says me: object has no attributes attrs
, something like that.
@ankush-me
Why the number of images are not the same in seg.h5
, depth.h5
and in the bg_images
folder??
bg_image folder = 11040
depth.h5 = 8010
seg.h5 = 11035
Filter the file names using imnames.cp.
Hi @ankush-me
Will the script work if I make one h5 file with seg, depth and original RBG images from others than the 5 in the script?
Because in RGB there are 11040 images, in depth are 8010 and in seg are 11035.
Or do I need to merge those pictures with same name?