preddy5 / segnet

A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation
http://preddy5.github.io/2016/03/08/segnet-post.html
205 stars 106 forks source link

Incorrect prediction or visualisation #13

Closed CyberDreamer closed 7 years ago

CyberDreamer commented 7 years ago

Hello.

After run this code:

output = autoencoder.predict_proba(train_data[8:9])
out_labels = np.argmax(output[0], axis=1)

pred = visualize(out_labels.reshape((height,width)), False)
plt.imshow(pred)
plt.figure(2)
plt.imshow(gt[8])
plt.show()

i have next result: res

I change only Batch size and data size params. I work in PyCharm. It is incorrect prediction or visualisation? What i do wrong?