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")

Knowledge Engineering Group (KEG) & Data Mining at Tsinghua University org

Do not use FP16 inference, use BF16 inference.

Sign up or log in to comment