mirror of
https://github.com/Laurent2916/REVA-QCAV.git
synced 2024-11-08 22:42:02 +00:00
c8c82204bf
slow, no gpu, no validation
13 lines
215 B
Python
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()
|