-
Notifications
You must be signed in to change notification settings - Fork 689
Open
Description
File "gen.py", line 289, in
for img_idx, (im, c, p) in enumerate(im_gen):
File "gen.py", line 283, in generate_ims
yield generate_im(font_char_ims[random.choice(fonts)], num_bg_images)
File "gen.py", line 236, in generate_im
bg = generate_bg(num_bg_images)
File "gen.py", line 221, in generate_bg
bg = cv2.imread(fname, cv2.CV_LOAD_IMAGE_GRAYSCALE) / 255.
AttributeError: module 'cv2' has no attribute 'CV_LOAD_IMAGE_GRAYSCALE'
Can someone explain what to do
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels