-
Notifications
You must be signed in to change notification settings - Fork 154
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
Out Of Memory #8
Comments
Full stack trace
|
Hi, you can edit zsm_my_video.sh and set "--N_out 7" to smaller numbers, like 3 or 5 |
Thanks for fast response. I did try that. I tried 3 and 5, same issue. What is the variable N_in used for? It doesnt appear to be used. |
Using --N_out 3:
|
Hi, please check this loc: https://github.com/Mukosame/Zooming-Slow-Mo-CVPR-2020/blob/master/codes/video_to_zsm.py#L23 |
Thanks. I'll try that. |
Commenting out line |
Thanks for bringing this up. I think this can be fixed after I optimizing the workflow of test.py. I'll let you know as soon as I fix it! |
Hi, I Commented out line |
I have the same issue. I messed around a bit with |
Hi Jade,
Thanks for the response. Yes, the issue disappears once N_out is set to 3
and I am able to run it successfully.
Thanks & Best Regards,
NJ
…On Tue, Jun 16, 2020 at 12:06 PM JadeWu233 ***@***.***> wrote:
Hi,
First, you can't set N_out to 1, because N_out refers to the number of
output frames. The N parameter author has said that it can only be set to
3, 5, 7. I recommended you take a closer look at the code to
understand what N_out stands for. Maybe you can try to set N_out to
3, or lower your input video resolution.
Listening to your description seems to be running on the CPU, which is
obviously not correct, you should run on the GPU.
------------------ 原始邮件 ------------------
***@***.***>;
发送时间: 2020年6月11日(星期四) 晚上11:41
收件人: "Mukosame/Zooming-Slow-Mo-CVPR-2020"<
***@***.***>;
***@***.******@***.***>;
主题: Re: [Mukosame/Zooming-Slow-Mo-CVPR-2020] Out Of Memory (#8)
Hi,
I am running video_to_zsm.py on a system with 2080Ti GPU (11GB) and 32 GB
of system RAM on 1 second clip of 480p video. OS is Ubuntu 18.04 LTS. I
have set also set N_out = 1.
It is running out of system RAM consuming all 32 GB and finally killing
the process. Could you please suggest any work around/solution for this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7CX4ZUTF7MBNG4EZ2KR4TRW4HGRANCNFSM4LNQ4NFQ>
.
|
Encounter the same problem,
|
The newest version should consume less memory and the CUDA memory. |
Running zsm_my_video.sh. No matter what I do, I keep getting out of memory errors. I'm using an RTX 2060 with 16GB of system RAM and 6GB of dedicated GPU RAM. I'm running against a 1 second clip from a 480p video.
RuntimeError: CUDA out of memory. Tried to allocate 676.00 MiB (GPU 0; 6.00 GiB total capacity; 3.49 GiB already allocated; 662.13 MiB free; 3.66 GiB reserved in total by PyTorch) (malloc at ..\c10\cuda\CUDACachingAllocator.cpp:289)
The text was updated successfully, but these errors were encountered: