Jin Li
Jin Li
> 你说的这个P站,它正经吗:) 正经啊,程序员必备
> 子曰:吾日三省吾身,早上撸否?中午撸否?睡觉前撸否?
> 图片到视频的探索群。 > > 主要解决图片到视频过程中遇到的一系列问题:包括环境安装,图片到动作的提取,视频崩坏,显存爆满,多卡运行,底模更换等一些列问题,收集一些优秀作品案例。提高沟通效率,降低学习成本,推动项目发展。 链接过期了,可以弄个QQ群吗?
> 我宣布此问题已解决,上面那些人乱说什么 do_classifier_free_guidance 的问题,根本不是。 问题的原因是batchsize, 代码作者在创建dataloader的时候没有设置 drop_last=True而代码又假设了batchsize是满的。这样如果最后一个batch不是满的,就会有 IndexError: The shape of the mask [0] at index 0 does not match the shape of the indexed tensor [1, 你的batch*768, 320] at...