-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instant-id return black image and report invalid value encountered in cast #2622
Comments
Hi @dannyweng88122 Which Jupyter notebook you are running? |
Hi @Aznie-Intel, My installation package version is like below, PS C:\Users\tester\Desktop\test\openvino_notebooks> pip freeze |
I am currently running the InstantID Jupyter notebook from OpenVINO and successfully generating the output image shown below: Are you able to run this notebook on your system? |
Hi @dannyweng88122 , I encountered the same error when running with FP32, as shown below. However, I was able to run the code with FP16, although the generated image output remains blank. I will forward this issue to the relevant team for further review and will keep you updated with any progress. |
Describe the bug
When I executed this jupyter it reports "C:\Users\tester\Desktop\test\openvino_notebooks\openvino_env\Lib\site-packages\diffusers\image_processor.py:147: RuntimeWarning: invalid value encountered in cast
images = (images * 255).round().astype("uint8")" and return the black image
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Installation instructions (Please mark the checkbox)
[x] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks#-installation-guide to install the notebooks.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: