Tencent / HunyuanDiT

Hunyuan-DiT : A Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understanding
https://dit.hunyuan.tencent.com/
Other
3.32k stars 285 forks source link

请问src_size_cond和height、width区别是什么? #97

Open cklogic opened 3 months ago

cklogic commented 3 months ago
results = gen.predict(prompt,
                height=height,
                width=width,
                seed=seed,
                enhanced_prompt=enhanced_prompt,
                negative_prompt=negative_prompt,
                infer_steps=infer_steps,
                guidance_scale=cfg_scale,
                batch_size=1,
                src_size_cond=(oriW, oriH),
                sampler=sampler,
                )