Skip to content

ValueError: height and width must be > 0 #358

@worldofzeroandone

Description

@worldofzeroandone

Traceback (most recent call last):
File "run.py", line 493, in
main()
File "run.py", line 438, in main
for _ in tqdm(
File "/home/gxu3081/anaconda3/envs/mm/lib/python3.8/site-packages/tqdm/std.py", line 1181, in iter
for obj in iterable:
File "/home/gxu3081/anaconda3/envs/mm/lib/python3.8/multiprocessing/pool.py", line 868, in next
raise value
ValueError: height and width must be > 0

I saw the solution is set the font dir,but I sepcify a font dir but it still has this problem,I want to generate 450000 images,I don't know if it's due to the size of images,but when I set the 45000 it still has the same problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions