Wan2.2-TI2V-5B微调问题
想要微调一下Wan2.2-TI2V-5B在480x480下的I2V,发现很容易过拟合,几百条数据为题下,lr 1e-5,训一会儿后,输出结果第二帧开始就漂移了,完全换了个人,大佬们有什么建议吗
https://github.com/user-attachments/assets/dfbd3250-590a-44ea-8d5e-cabc6122baff
是bug,你退回1.19版本就行
大佬,具体是什么bug,求指导
请问1.19版本在哪儿可以看到呢?
请问1.19版本在哪儿可以看到呢?
看 tag 换版本就可以
https://github.com/modelscope/DiffSynth-Studio/blob/55e8346da3fd725e12ca9f3251eb79dd75469a25/diffsynth/diffusion/loss.py#L13 这里覆盖了第一帧的latent 我在这里加上了 inputs["latents"][:, :, 0: 1] = inputs['first_frame_latents'] 可以看下对不对
DiffSynth-Studio/diffsynth/diffusion/loss.py
Line 13 in 55e8346
inputs["latents"] = pipe.scheduler.add_noise(inputs["input_latents"], noise, timestep)
这里覆盖了第一帧的latent 我在这里加上了 inputs["latents"][:, :, 0: 1] = inputs['first_frame_latents'] 可以看下对不对
确实可行,我这边测试也可以,厉害
DiffSynth-Studio/diffsynth/diffusion/loss.py
Line 13 in 55e8346
inputs["latents"] = pipe.scheduler.add_noise(inputs["input_latents"], noise, timestep)
这里覆盖了第一帧的latent 我在这里加上了 inputs["latents"][:, :, 0: 1] = inputs['first_frame_latents'] 可以看下对不对
你们用的是2.0的版本还是1.1.9的版本
我用的2.0版本
我用的2.0版本
我看1.1.9的版本也没有这个,这么说1.1.9也有bug了
#1175 1.1.9我没看 但是这里给了解释
厉害!!!
https://github.com/modelscope/DiffSynth-Studio/blob/main/diffsynth/pipelines/wan_video.py#L312-L313
There may also be bugs during Wan-TI2V generation - only completely noised latents are fed into the model at the initial denoising step, and the conditioning image is not referenced.
你好,但是这样的训练ti2v模型,推理时使用t2v能力会退化吧