image_output_1.png
import cv2

import glob

import matplotlib.pyplot as plt

import os

INPUT_PATH = '../input/cityscapes-image-pairs/cityscapes_data'

train_files = glob.glob(os.path.join(INPUT_PATH + '/train', '*jpg'))
val_files = glob.glob(os.path.join(INPUT_PATH + '/val', '*jpg'))

fig, axes = plt.subplots(1, 2, figsize=(20, 5))
for i, ax in enumerate(axes.ravel()):
    img = cv2.imread(train_files[i])
    ax.imshow(img)
plt.show()