in ()
20 data= np.transpose(data, (2, 0, 1)) # transpose so the z-axis (slices) are the first dimension
21 #print(type(data))
---> 22 output = np.zeros((len(data), 512, 512))[0] # save output here
23 #print(data)
24 # print(type(output))
MemoryError:
>>how to solve these issue??
Is there a workaround to train the data on a 2GB GPU?