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
When processing some pictures, most of them are normal,
but a few of them will have a black screen and an error message: image_processor.py:111: RuntimeWarning: invalid value encountered in cast, images = (images * 255).round().astype("uint8")
The text was updated successfully, but these errors were encountered:
When processing some pictures, most of them are normal, but a few of them will have a black screen and an error message: image_processor.py:111: RuntimeWarning: invalid value encountered in cast, images = (images * 255).round().astype("uint8")
solved it. Because of the unstable calculation of fp16,at inversion preprocess it will calculate [nan,nan,nan] tensor, which leads to the black image,change it to fp32, and solve it
When processing some pictures, most of them are normal,
but a few of them will have a black screen and an error message:
image_processor.py:111: RuntimeWarning: invalid value encountered in cast, images = (images * 255).round().astype("uint8")
The text was updated successfully, but these errors were encountered: