import numpy as np
import os
import matplotlib.pyplot as plt
import sys
import cv2
a = np.load('/home/wgb/Desktop/Dex2/training_gqcnn/datasets/adv_synth/depth_ims_tf_table_00099.npz')['arr_0']
b = a[0]
print('shape b = ', np.shape(b))
np.shape(b)
c = np.tile(b, [1,3])
c.shape
plt.imshow(c)
plt.show()
np.max(b)
np.max(b)
d = b/np.max(b)*255
f = np.array(d, dtype = np.uint8)
type(f)
c = np.tile(b, [1,3])
c.shape
plt.imshow(c)
plt.show()