please help i do have issue when i try to write path.
example:
DATA_FOLDER = '/home/myra/Documents/Testing_Ocr/text-detection/data/dataset/image'
OUTPUT = '/home/myra/Documents/Testing_Ocr/text-detection/data/dataset/label'
im_fns = os.listdir(os.path.join(DATA_FOLDER, "image"))
im_fns.sort()
if not os.path.exists(os.path.join(OUTPUT, "image")):
os.makedirs(os.path.join(OUTPUT, "image"))
if not os.path.exists(os.path.join(OUTPUT, "label")):
os.makedirs(os.path.join(OUTPUT, "label"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/myra/Documents/Testing_Ocr/text-detection/data/dataset/image/image'
please help i do have issue when i try to write path. example: DATA_FOLDER = '/home/myra/Documents/Testing_Ocr/text-detection/data/dataset/image' OUTPUT = '/home/myra/Documents/Testing_Ocr/text-detection/data/dataset/label'
im_fns = os.listdir(os.path.join(DATA_FOLDER, "image")) im_fns.sort() if not os.path.exists(os.path.join(OUTPUT, "image")): os.makedirs(os.path.join(OUTPUT, "image")) if not os.path.exists(os.path.join(OUTPUT, "label")): os.makedirs(os.path.join(OUTPUT, "label"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/myra/Documents/Testing_Ocr/text-detection/data/dataset/image/image'