-
Notifications
You must be signed in to change notification settings - Fork 242
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
[demo] RuntimeError: std::bad_alloc #165
Comments
I may have found the issue to my problem. The GPU I'm using (1x RTX4090 24Gb) is not enough to run the model with video input. It works well when I used image instead. nvcc version: 12.1.105 |
Great. Just to be specific. You mean the 1x RTX4090 24Gb is not capable for 128 frames? |
Have tested a few more times (with different video lengths). Videos within 10-20secs are able to work. My first few attempts with 1min video couldn't work and would prompt the error above. May I know if this 128 frames is part of the parameter in the model? It doesn't seem to take any effect when I changed its config value under the config.json in my cache folder. |
We can run videos more than 3mins on our machine (dual 3090 and A100). The Please refer to this to see how we organize the input for video demo, and consider to give it a ❤️~ |
Generally, 128 is the upper bound number of the video frames. |
The example code is pulled from here.
Error:
Not sure if this is correct, but I've used this as stated in the example (main):
My packages are:
Originally posted by @Nntsyeo in #147 (comment)
The text was updated successfully, but these errors were encountered: