raster_triangle icon indicating copy to clipboard operation
raster_triangle copied to clipboard

how do i visualize my synthesis pictures

Open guess-who-ami opened this issue 3 years ago • 1 comments

i just got 70000 .pkl files, how do i visualize these pictures ?

guess-who-ami avatar Jan 07 '22 06:01 guess-who-ami

For each of the .pkl files, you can load them using python's pickle library. Just do the following (i.e for 0.pkl):

data = pkl.load(open("0.pkl","rb"))
depthmap = data["depth"]
rgbmap = data["rgb"]
mask = data["mask"]

Then just plot the 3 maps/mask using plt.imshow(....)

siatheindochinese avatar May 27 '22 02:05 siatheindochinese