Closed
Description
Describe the bug
It's seems that animatediff result is bad, generate image is blur, however when I use the sdwebui or origin animatediff, it can get good result
diffuser result
https://github.com/huggingface/diffusers/assets/98469560/994c50d7-0568-4798-8e33-61251c77cd36
sdwebui or origin repo result
https://github.com/huggingface/diffusers/assets/98469560/dee390c2-7e95-4cee-a041-086d95d03cc8
Reproduction
adapter = MotionAdapter.from_pretrained("xx/animatediff-motion-adapter-v1-5-2")
model_id = "xx/majicmixRealistic_v7"
animate_pipe = AnimateDiffPipeline.from_pretrained(model_id, motion_adapter=adapter).to('cuda')
scheduler = DDIMScheduler.from_pretrained(
model_id, subfolder="scheduler", clip_sample=False, timestep_spacing="linspace", steps_offset=1
)
animate_pipe.scheduler = scheduler
prompt="1girl, offshoulder, light smile, shiny skin best quality, masterpiece, photorealistic"
seed = 42
frames = animate_pipe(
prompt=prompt,
num_frames=16,
guidance_scale=7.5,
num_inference_steps=30,
generator=torch.Generator("cpu").manual_seed(seed),
).frames[0]
Logs
No response
System Info
diffusers
version: 0.23.0- Platform: Linux-4.9.70-040970-generic-x86_64-with-glibc2.23
- Python version: 3.10.13
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Huggingface_hub version: 0.17.3
- Transformers version: 4.30.2
- Accelerate version: 0.21.0
- xFormers version: 0.0.20
Who can help?
No response