-
Notifications
You must be signed in to change notification settings - Fork 101
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
Resolution or video length lead to cuda out of memory question #67
Comments
Bro. The model is hungry for your gpu |
@davidzang0930 did you find an answer for this? |
Guys what are trying to do? The model is expensive to run |
I was wondering if there were any settings to adjust that would use less memory at the cost of inference time. I found this repo: https://github.com/Teravus/Chunk_E2FGVI which allows for more frames at a time, so I am using that one for now. |
@antithing I use the .half() function to allow it to use more frames, and I put selected_imgs and selected_masks into the GPU after selecting them. This way, it can process longer videos. |
@davidzang0930 thanks! Are you able to share your code changes here? |
@antithing |
Hi @davidzang0930 did you find any other ways to optimize it? If so can you please share? |
I use e2fgvi_hq model
I would like to ask, is there no way to input a higher resolution or longer video? Or am I using it wrong
The text was updated successfully, but these errors were encountered: