Skip to content
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

run on single video #8

Open
ahmadmustafaanis opened this issue Apr 20, 2024 · 5 comments
Open

run on single video #8

ahmadmustafaanis opened this issue Apr 20, 2024 · 5 comments

Comments

@ahmadmustafaanis
Copy link

ahmadmustafaanis commented Apr 20, 2024

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

@Platorius
Copy link

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
Copy link

mehao commented Apr 29, 2024

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 ?

@GeunhyukYouk
Copy link
Collaborator

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.

@KevinLiu76
Copy link

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

@ps3dood
Copy link

ps3dood commented May 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants