images = (images * 255).round().astype("uint8")

#2
by ghy-cmd - opened

How can I solve this problem?

/usr/local/lib/python3.8/dist-packages/diffusers/image_processor.py:111: RuntimeWarning: invalid value encountered in cast
  images = (images * 255).round().astype("uint8")

My diffusers and transformer are already updated.

diffusers == 0.31.0.dev0
transformer == 4.44.2
torch == 2.1.0

Sign up or log in to comment