FlashVideo icon indicating copy to clipboard operation
FlashVideo copied to clipboard

bad result on a800

Open 523997931 opened this issue 1 year ago • 24 comments

hello, I use the example code to run the example case. but I found the result is very bad, the second stage result is strange, don't like the project you showed, I don't know where is wrong,I think the first stage is normal, but stage 2 seem has something wrong.

https://github.com/user-attachments/assets/69f4a664-99f6-4d83-87f9-8804549628f3

523997931 avatar Feb 27 '25 09:02 523997931

Hello, this result does seem unreasonable, as the entire image is filled with artifacts. Did you change the resolution or adjust any parameters in stage 2? It is possible that you are submitting the wrong text prompt to the second stage?(Because it can be seen from the hands and face that the model is trying to generate other things)

Did you run inference on all the prompts? Are none of the prompts able to produce normal results?

jshilong avatar Feb 27 '25 10:02 jshilong

@linjing7 In the #4 , you mentioned that you could run the code and get normal results. Did you have similar strange results at that time?

jshilong avatar Feb 27 '25 10:02 jshilong

No, I got quite good results. Here are some videos I got using prompts from VBench.

2_0_seed_2_joint.mp4.zip

linjing7 avatar Feb 27 '25 10:02 linjing7

No, I got quite good results. Here are some videos I got using prompts from VBench.

2_0_seed_2_joint.mp4.zip

Thank you for your feedback. Let me help troubleshoot the issue.

jshilong avatar Feb 27 '25 10:02 jshilong

Hello, this result does seem unreasonable, as the entire image is filled with artifacts. Did you change the resolution or adjust any parameters in stage 2? It is possible that you are submitting the wrong text prompt to the second stage?(Because it can be seen from the hands and face that the model is trying to generate other things)

Did you run inference on all the prompts? Are none of the prompts able to produce normal results?

Well, I don't change anything about the config, just run the inf_270_to_1080.sh scripts, just change the node number, so I think it is strange, the resolution is [1920,1080], and the prompt is normal give to the second stage, because I don't change any code ...

523997931 avatar Feb 27 '25 10:02 523997931

2_0_seed_2_joint.mp4.zip

I think it is also strange....for the face part

523997931 avatar Feb 27 '25 10:02 523997931

Hello, this result does seem unreasonable, as the entire image is filled with artifacts. Did you change the resolution or adjust any parameters in stage 2? It is possible that you are submitting the wrong text prompt to the second stage?(Because it can be seen from the hands and face that the model is trying to generate other things) Did you run inference on all the prompts? Are none of the prompts able to produce normal results?

Well, I don't change anything about the config, just run the inf_270_to_1080.sh scripts, just change the node number, so I think it is strange, the resolution is [1920,1080], and the prompt is normal give to the second stage, because I don't change any code ...

@523997931 The results of linjing7 are within a reasonable range,the face is related to word description

but in your case I think there is indeed something wrong, because there are no normal results on the hands and face at all.

jshilong avatar Feb 27 '25 10:02 jshilong

Could you share the results for other prompts?
Alternatively, you could run the demo.ipynb and share the outputs.

jshilong avatar Feb 27 '25 10:02 jshilong

Could you share the results for other prompts? Alternatively, you could run the demo.ipynb and share the outputs.

result.zip here is the result, I just run 4, I found it broken, so I stop it, I think the part without person is fine, but for human part, it is really strange

523997931 avatar Feb 27 '25 10:02 523997931

Now I can confirm that all your results are abnormal, because there seems to be no improvement in image quality.

jshilong avatar Feb 27 '25 10:02 jshilong

Now I can confirm that all the results are abnormal, because there seems to be no improvement in image quality.

so what may cause this? I recheck the code, I think the prompt is correct pass to stage2

523997931 avatar Feb 27 '25 10:02 523997931

Now I can confirm that all the results are abnormal, because there seems to be no improvement in image quality.

so what may cause this? I recheck the code, I think the prompt is correct pass to stage2

I will download this repo and ckpt rerun the code to make sure the latest version is correct

jshilong avatar Feb 27 '25 10:02 jshilong

Image is this normal? first stage num_frames is 13? second is 49?

523997931 avatar Feb 27 '25 11:02 523997931

Image is this normal? first stage num_frames is 13? second is 49?

it is correct. This is indeed a bit strange. Your log seems to have no problems. I downloaded the repo and checkpoint directly and got completely normal results. here are results I just got.

https://huggingface.co/datasets/shilongz/FlashVideo-Visualization/tree/main

jshilong avatar Feb 27 '25 13:02 jshilong

What is your GPU type?

jshilong avatar Feb 27 '25 13:02 jshilong

What is your GPU type?

on a800

523997931 avatar Feb 27 '25 13:02 523997931

@523997931 Sorry I don't have this type of GPU right now to reproduce the results, I will try to check if the GPU is causing your problem but it may take some time

@linjing7 Would you mind telling me your GPU type?

jshilong avatar Feb 27 '25 14:02 jshilong

@523997931 Another weird thing is that your mp4 files are small, the results should be at least >10M

jshilong avatar Feb 27 '25 14:02 jshilong

thanks a lot,for the size I think maybe some param in my ffmpeg cause this. but the wierd result i think it is independent of this

523997931 avatar Feb 27 '25 14:02 523997931

thanks a lot,for the size I think maybe some param in my ffmpeg cause this. but the wierd result i think it is independent of this

What are your Torch and CUDA Toolkit versions? My setup is Torch 2.4.0+cu121.

I noticed there is a calculation discrepancy between your results and mine. For example, in the printed logs, mine shows:

tensor([676., 676.], device='cuda:0', dtype=torch.bfloat16) get -2.0453147888183594

I'm not entirely sure whether this discrepancy is caused by the GPU itself or differences in Torch versions. Additionally, it’s unclear whether these computational errors are directly responsible for the broken results.

jshilong avatar Feb 27 '25 15:02 jshilong