carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.82k stars 427 forks source link

You have disabled the safety checker for <class 'dream_textures. generator_process.actions.depth_to_image.depth_to_image.. GeneratorPipeline' > #736

Closed shiyuze112 closed 9 months ago

shiyuze112 commented 12 months ago

Description

》》》 EOFError You have disabled the safety checker for <class 'dream_textures. generator_process.actions.depth_to_image.depth_to_image.. GeneratorPipeline' > by passing safety_checker=None . Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strong ly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve a nalyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/dif fusers/pul1/254. You have loaded a UNet with 5 input channels, whereas by default, <class 'dream_textures.generator_process.actions. depth_to_image .depth_to_image..GeneratorPipeline' > assumes that pipeline. unet`has 9 input channels: 4 for num_channels_latents , 1f or num_channels_mask , and 4 for num_channels_masked_image . If you did not intend to modify this behavior, please check whethe r you have loaded the right checkpoint. C:\Users\zz\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures.python_dependencies\diffusers\models\ cross_attention. py:30: FutureWarning: Importing from cross_attention is deprecated. Please import from diffusers. models. attention processor instead. deprecate( 100%||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||25/25 [09:53<0:00,23.74s/it] C:\Users\zz\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures. python_dependencies\diffusers\pipelin es\pipeline_utils. py:1375: RuntimeWarning: invalid value enc countered in cast images = (images * 255). round().astype("uint8")

》》》

Steps to Reproduce

Project Dream Texture 100%||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||25/25 [09:53<0:00,23.74s/it] C:\Users\zz\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures. python_dependencies\diffusers\pipelin es\pipeline_utils. py:1375: RuntimeWarning: invalid value enc countered in cast images = (images * 255). round().astype("uint8")

Expected Behavior

I encountered the following error during the implementation of the texture, the progress bar can be read to the end, but the AI image is not generated

Addon Version

Windows (CUDA)

GPU

NVIDIA

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 9 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.