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

RuntimeError: GPU out of memory #3

Closed
darissa opened this issue Jun 3, 2020 · 5 comments
Closed

RuntimeError: GPU out of memory #3

darissa opened this issue Jun 3, 2020 · 5 comments

Comments

@darissa
Copy link

darissa commented Jun 3, 2020

Hi, I'm running inference.py using your trained checkpoints (due to tight schedule for demo) based on our local camera. However, I got runtimeError: Gpu out of memory. I will share my code with you. Thanks a lot for giving your time.

inference_wana.zip

@darissa
Copy link
Author

darissa commented Jun 3, 2020

I debug using spyder, the error start somewhere here:

c:\users\bolt\s-dcnet\inference_wana.py(156)()
154
155
2-> 156 @hydra.main(config_path="conf/config_train_val_test.yaml")
157 def main(cfg):
3 158 orig_cwd = hydra.utils.get_original_cwd()

--Call--
KeyError: '_dh'
--Return--
KeyError: '_dh

@dmburd
Copy link
Owner

dmburd commented Jun 3, 2020

What are your hardware resources?

@darissa
Copy link
Author

darissa commented Jun 3, 2020

I am using GeForce RTX 2070.

@dmburd
Copy link
Owner

dmburd commented Jun 3, 2020

I cannot debug everything in your code / setting.
Try launching my script inference.py for standalone image files according to the instructions in the readme. First on a Linux machine (if possible), then on Windows. If you encounter crashes likely caused by bugs in my code, please let me know.

@darissa
Copy link
Author

darissa commented Jun 3, 2020

yeah right. Btw i'm able run your original transcript using some images from test data, it can generate the results, on WIndows. Thanks a lot. Might be due to extraction from video to images. sorry for taking your time, I am a newbie in this field. Thank you thank you.

@dmburd dmburd closed this as completed Jul 6, 2020
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

2 participants