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
py gen.py 1000
Traceback (most recent call last):
File "gen.py", line 287, in <module>
for img_idx, (im, c, p) in enumerate(im_gen):
File "gen.py", line 278, in generate_ims
fonts, font_char_ims = load_fonts(FONT_DIR)
File "gen.py", line 265, in load_fonts
FONT_HEIGHT))
File "gen.py", line 73, in make_char_ims
im = im.resize((int(width * scale), output_height), Image.ANTIALIAS)
File "C:\Users\X\AppData\Local\Programs\Python\Python37-32\lib\site-packages\PIL\Image.py", line 1801, in resize
im = im.resize(size, resample, box)
File "C:\Users\X\AppData\Local\Programs\Python\Python37-32\lib\site-packages\PIL\Image.py", line 1806, in resize
return self._new(self.im.resize(size, resample, box))
ValueError: height and width must be > 0
Why this happend??
The text was updated successfully, but these errors were encountered:
Got this error:
Why this happend??
The text was updated successfully, but these errors were encountered: