You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A suspected memory leak occurred when I ran train.py for the training process with a single GPU.
The usage memory is 95% after a period of time and keeps rising.
Afterwards, I ran a memory analysis through memory_profiler found that there seemed to be over-occupying memory during the load data phase.
Maybe it can provide some suggestions for solutions
I used the same training data (Vimeo90K), and didn't make any major changes to the Vimeo7Dataset class but the following to make it fit my own cache_keys.pkl
The text was updated successfully, but these errors were encountered:
My env:
OS: Windows10
python version: 3.8
pytorch version: 1.13.1
numpy version: 1.23.5
GPU: RTX3090TI
RAM: 32GB
A suspected memory leak occurred when I ran train.py for the training process with a single GPU.
![20230403030900](https://user-images.githubusercontent.com/40731305/229373834-b5079edc-945b-441c-b26f-33f73690d3b0.png)
The usage memory is 95% after a period of time and keeps rising.
Afterwards, I ran a memory analysis through memory_profiler found that there seemed to be over-occupying memory during the load data phase.
![memory_profiler](https://user-images.githubusercontent.com/40731305/229373608-2f5172a5-b949-4ed3-b9e8-691dc8ea5aa5.png)
Maybe it can provide some suggestions for solutions
I used the same training data (Vimeo90K), and didn't make any major changes to the Vimeo7Dataset class but the following to make it fit my own cache_keys.pkl
![1](https://user-images.githubusercontent.com/40731305/229374541-1dd2e1cb-0e69-4006-8c89-a94b754ac5b4.png)
![2](https://user-images.githubusercontent.com/40731305/229374645-13953671-6078-467b-a7db-8013d2b9dbb7.png)
![3](https://user-images.githubusercontent.com/40731305/229374676-2fdad313-08a7-4756-ab59-7639f3be16d1.png)
The text was updated successfully, but these errors were encountered: