text_plain_output_1.png
import os

import os
def list_files(startpath):
    for root, dirs, files in os.walk(startpath):
        level = root.replace(startpath, '').count(os.sep)
        indent = ' ' * 4 * level
        subindent = ' ' * 4 * (level + 1)

train_dir = '../input/seg_train/seg_train/'

test_dir = '../input/seg_test/seg_test/'
print(os.listdir(test_dir))