how to solve this error : invalid value encountered in cast images = (images * 255).round().astype("uint8")
#2
by
feng1022
- opened
/python3.9/site-packages/diffusers/image_processor.py:147: RuntimeWarning: invalid value encountered in cast
images = (images * 255).round().astype("uint8")
Do not use FP16 inference, use BF16 inference.