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
This is beause why alpha_crop = crop_alpha_area(alpha) results some (0,n) or (n,0) shaped array, therefore resize is impossible.
To deal with this, I temporarily altered code and checked how this issue as following:
and this is following logs:
Is this ok? Looks like lots of crop errors occur and result resizing error.
The text was updated successfully, but these errors were encountered:
I expect most of these errors from the lack of glyphs for the specific characters in font files.
We handle 94 characters, and font files sometimes do not have glyphs for all characters.
We ignore such characters whose glyph does not exist.
I appreciate the provided code and tried myself.
For the prerendering script
python -m util_lib.gen_pams
Following resize code causes error:
derendering-text/util_lib/gen_pams.py
Line 95 in 0273325
This is beause why
alpha_crop = crop_alpha_area(alpha)
results some (0,n) or (n,0) shaped array, therefore resize is impossible.To deal with this, I temporarily altered code and checked how this issue as following:
and this is following logs:
Is this ok? Looks like lots of crop errors occur and result resizing error.
The text was updated successfully, but these errors were encountered: