You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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'
The text was updated successfully, but these errors were encountered: