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

CUDA out of memory #8

Closed
semel1 opened this issue Dec 18, 2021 · 1 comment
Closed

CUDA out of memory #8

semel1 opened this issue Dec 18, 2021 · 1 comment

Comments

@semel1
Copy link

semel1 commented Dec 18, 2021

I noticed that a similar issue has been closed.
However, I have the same problem.
So, "You can also load the frame just before each iteration. I think torch.utils.data.DataLoader can be a better option for this issue. We will update the code using pytorch dataloader."
Any code update?
Could you please provide me with more detail on how to " load the frame just before each iteration"

@yzxing87
Copy link
Owner

yzxing87 commented Jan 21, 2022

Hi, I mean, in line 136-141 of main_IRT.py, we load the whole video into memory for accelerating training. You can also load the data just before each iteration, by changing line 162 and line 168.

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