-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Hackathon 5th No.84】新增模型视频生成模型MS-Image2Video+MS-Vid2Vid-XL #345
【Hackathon 5th No.84】新增模型视频生成模型MS-Image2Video+MS-Vid2Vid-XL #345
Conversation
Thanks for your contribution! |
你好,可以提供一个权重的网盘链接,我们可以帮你上传到bos上 |
|
可以的 |
ai studio生成版本不能超过1G,这又该怎么办啊, |
你可以上传到huggingface上,然后把相关链接分享给我,也是可以的 |
@westfish 请问CI需要看下么~ |
已rerun |
请问vid2vid任务完成的怎么样了呀,快到时间点了 |
这个还没有完成 |
你好,vid2vid任务已完成,与原始模型有误差,具体问题已提交issue,PaddlePaddle/Paddle#60293 |
权重文件准备好了吗 |
|
这里只能上传1M以内的文件,因为我上传的模型是通过利用ai studio的数据集上传后使用的,我把数据集公开后,你从哪里下是不是也可以, |
请提供完整的推理脚本,可以上传到这个目录:ppdiffusers/tests/community |
noise = self.build_noise() | ||
|
||
model_kwargs = [{"y": img_embedding, "fps": self.fps_tensor}, {"y": self.zero_feature, "fps": self.fps_tensor}] | ||
state_dict = paddle.load("/home/aistudio/img_to_video/unet/model_state.pdparams") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
需要删除
video2video运行到时候会遇到这个问题: del from a BertForSequenceClassification model). |
|
ppdiffusers/ppdiffusers/__init__.py
Outdated
@@ -57,14 +57,19 @@ | |||
else: | |||
from .models import ( | |||
AsymmetricAutoencoderKL, | |||
Vid2VidSDUNet, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请按照字母顺序排列,不然会太乱影响后续开发
模型已经上传,对应id为"Yang-Changhui/img-to-video-paddle"和"Yang-Changhui/video-to-video-paddle"
|
那请问接下来还需要做什么,写gradio demo吗 |
是的,还请辛苦在ppdiffusers/examples/inference/I2VGen-XL-gradio下加入相关gradio,类似这种https://modelscope.cn/studios/damo/I2VGen-XL-Demo/summary |
@westfish 你好,gradio已上传,但是我发现使用gradio由图像生成的视频和使用代码生成的视频不一样,这种情况是什么问题呢 |
要确定随机种子,参数,还有输入的图片(是不是大小变了?)等都一致;你这个pipeline里没有把generaotr暴露出来,而是用的vae的seed,不知道哪里会不会又问题,你先多跑几次看看代码生成的视频是不是都一样先 |
@westfish 你好,unet模型的名字起错了,应该是STUnet,我的命名时SFUnet,已经修改了,能麻烦你将两个配置文件中的unet和model_index.json文件重新上传一下吗,https://aistudio.baidu.com/datasetdetail/246052 ,或者还是用原来的呢 |
嗯嗯 帮你重新上传bos了 |
这个是没有问题的,代码由图生成的视频都是一样的,视频生成视频V100 32G会显示超内存,之前就不会有这个问题,使用的是相同的代码, |
嗯嗯 目前相关工作都搞好了吧 现在给你合入吧 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ddle#345) 目前已完成图生视频,已加入pipeline,请问权重和配置文件上传到哪里
目前已完成图生视频,已加入pipeline,请问权重和配置文件上传到哪里