Comments (4)
Thank you again for your explanation~
from text-to-video-finetuning.
Hi, @ExponentialML
This is a really useful repo, but I have a question to ask. In the video fusion paper, it seems that they decouple the denoising process into base noise and residual noise. However, I couldn't find this in the pipeline of diffusers, which confuses me. Is this a completely new version?
Hey! In all honesty, I cannot verify that the Pipeline used from ModelScope's repository is verbatim with the paper. I only implemented this repository after the initial release of the ModelScope video diffusion model (referencing showlab's Tune-A-Video's repository for training).
Also, I havn't yet referenced any of the paper's implementations, but loosely follow others in same field. When I was asked as to which paper this was referencing, I found that the paper (assuming you found it on paperswithcode) and linked it as the closest candidate.
In terms of base noise along with a residual, I don't think that this would be too difficult to implement. I'll give it a go as a side experiment (not on my todo list at the moment), but in the mean time if you would like to, it would be great to open a PR and attempt to implement it.
from text-to-video-finetuning.
So for this repo, to achieve video generation, it just added a temporal layer in the unet, right? (Perhaps this is not a rigorous way to put it, but that's roughly what I see from the code). The reason I raised this issue is just to confirm if I missed any code details.
Regarding the implementation of basic noise and residual noise denoising you mentioned, I'd be happy to submit a PR for it. I'll implement it soon.
from text-to-video-finetuning.
That's the correct assumption. Loosely, there are temporal layers in the form of:
(b h w) f c
batch, height, width, frames, channels
Then, double self attention is used such that it replaces the cross attention layer (text input in the majority cases for CrossAttention) before the feed forward. 3D temporal convolution layers are also added.
Thanks for willing to submit the PR! Looking forward to it.
from text-to-video-finetuning.
Related Issues (20)
- webui Lora Might be causing errors in checkpoint models. HOT 3
- How to train with folder video HOT 1
- Which paper? HOT 1
- RuntimeError: cannot reshape tensor of 0 elements into shape [0, -1, 1, 512] because the unspecified dimension size -1 can be any value and is ambiguous HOT 3
- Does this code support native finetune for damo text to video model? HOT 2
- AttributeError: 'Tensor' object has no attribute 'config' HOT 5
- How can I run the fine-tuning on a GPU with <= 16GB of VRAM? HOT 3
- A typo
- TypeError: Linear.forward() got an unexpected keyword argument 'scale' HOT 6
- wrong norm method HOT 1
- issues on train.py HOT 1
- [inference] latents_window index error HOT 1
- Two forward passes in finetune_unet HOT 1
- Lora on ResnetBlock2D in modelscope model HOT 1
- Can the videocomposer model be adapted to this training framework?
- Normal finetuning instead of LoRA
- ControlNet
- init_video problem
- finetune train error of "UnboundLocalError: local variable 'use_offset_noise' referenced before assignment" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-to-video-finetuning.