FMA-Net icon indicating copy to clipboard operation
FMA-Net copied to clipboard

run on single video

Open ahmadmustafaanis opened this issue 1 year ago • 3 comments

hi, i see the evaluation/testing code but how can i run the pretrained model on a single video?

ahmadmustafaanis avatar Apr 20 '24 18:04 ahmadmustafaanis

I would also like to know that.

How can we use this model (or our own trained one) to run it on a real video ?

Platorius avatar Apr 29 '24 10:04 Platorius

I would also like to know that.

How can we use this model (or our own trained one) to run it on a real video ?

mehao avatar Apr 29 '24 13:04 mehao

Hi, We do not provide direct testing code for videos. However, there are two ways to address this. Firstly, you can use tools like ffmpeg to convert the video into an image sequence and then utilize the test_custom option we provide. Secondly, you can directly test the video using the restoration_video_inference function in the MMEditing library.

GeunhyukYouk avatar May 01 '24 06:05 GeunhyukYouk

I have converted the video into an image sequence in A40(46G), but it is still out of memory. What params should I change?

KevinLiu76 avatar May 22 '24 10:05 KevinLiu76

I think you need to reduce your resolution. VRAM use absolutely balloons with resolution and frame count

ps3dood avatar May 23 '24 15:05 ps3dood

I will close this issue as there has been no further discussion. Please re-open the issue if there are additional comments.

GeunhyukYouk avatar Jul 05 '24 11:07 GeunhyukYouk