TextRecognitionDataGenerator icon indicating copy to clipboard operation
TextRecognitionDataGenerator copied to clipboard

ValueError: height and width must be > 0

Open worldofzeroandone opened this issue 4 months ago • 1 comments

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

worldofzeroandone avatar Oct 08 '24 12:10 worldofzeroandone