REVA-QCAV/data_vis.py
milesial c8c82204bf First prototype
slow, no gpu, no validation
2017-08-16 14:24:29 +02:00

13 lines
215 B
Python

import matplotlib.pyplot as plt
def plot_img_mask(img, mask):
fig = plt.figure()
ax1 = fig.add_subplot(1, 3, 1)
ax1.imshow(img)
ax2 = fig.add_subplot(1, 3, 2)
ax2.imshow(mask)
plt.show()