In [5]:
import matplotlib.pyplot as plt
import numpy as np
import glob
from scipy import misc

%matplotlib inline

#x_train = np.load('./data/split/x_train.npy')
#y_train = np.load('./data/split/y_train.npy')
x_train = np.load('../split/x_train.npy')
y_train = np.load('../split/y_train.npy')

plt.figure()
plt.imshow(x_train[0,0])

print(x_train[0].shape)

print(y_train[0].shape)

for i in y_train[0,:]:
    print i.shape
    plt.figure()
    plt.imshow(i[:,:,0])


(1, 128, 128, 3)
(15, 128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)
(128, 128, 1)

In [3]:


In [ ]: