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
after pick font
After draw_text_on_bg
after pick font
Retry gen_img:
Traceback (most recent call last):
File "main.py", line 67, in gen_img_retry
return renderer.gen_img(img_index)
File "/home/mrzwjax/PycharmProjects/text_renderer/textrenderer/renderer.py", line 50, in gen_img
bg = self.gen_bg(width=word_size[0] * 8, height=word_size[1] * 8)
File "/home/mrzwjax/PycharmProjects/text_renderer/textrenderer/renderer.py", line 403, in gen_bg
bg = self.gen_bg_from_image(int(width), int(height))
File "/home/mrzwjax/PycharmProjects/text_renderer/textrenderer/renderer.py", line 425, in gen_bg_from_image
assert width > height
The text was updated successfully, but these errors were encountered:
运行过程中一开始没有问题,过一会儿就会出现assert width > height,然后一直循环在这个报错中,请问怎么解决
after pick font
After draw_text_on_bg
after pick font
Retry gen_img:
Traceback (most recent call last):
File "main.py", line 67, in gen_img_retry
return renderer.gen_img(img_index)
File "/home/mrzwjax/PycharmProjects/text_renderer/textrenderer/renderer.py", line 50, in gen_img
bg = self.gen_bg(width=word_size[0] * 8, height=word_size[1] * 8)
File "/home/mrzwjax/PycharmProjects/text_renderer/textrenderer/renderer.py", line 403, in gen_bg
bg = self.gen_bg_from_image(int(width), int(height))
File "/home/mrzwjax/PycharmProjects/text_renderer/textrenderer/renderer.py", line 425, in gen_bg_from_image
assert width > height
The text was updated successfully, but these errors were encountered: