-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
I am getting the following error while running the TextImageGenerator even though the file is exists in the train folder in the name of C887YO06.png.json
FileNotFoundError Traceback (most recent call last)
in
----> 1 tiger = TextImageGenerator('./data/train/', 'val', 128, 64, 8, 4)
2 tiger.build_data()
in init(self, dirpath, tag, img_w, img_h, batch_size, downsample_factor, max_text_len)
35 img_filepath = join(img_dirpath, filename)
36 json_filepath = join(ann_dirpath, name + '.json')
---> 37 ann = json.load(open(json_filepath, 'r'))
38 description = ann['description']
39 tags = ann['tags']
FileNotFoundError: [Errno 2] No such file or directory: './data/train/ann/C887YO06.json'
Metadata
Metadata
Assignees
Labels
No labels