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

Issue with memory only with your code #25

Open
Scienceseb opened this issue Oct 13, 2021 · 1 comment
Open

Issue with memory only with your code #25

Scienceseb opened this issue Oct 13, 2021 · 1 comment

Comments

@Scienceseb
Copy link

Scienceseb commented Oct 13, 2021

I got the following error while running train_vqvae.py:

OSError: [WinError 1455] The paging file is too small for this operation to complete. Error loading "C:\Users\sebdb\Anaconda3\envs\pythonProject\lib\site-packages\torch\lib\cusolver64_10.dll" or one of its dependencies

This is an issue related to the memory (I have 32GB of ram with a GTX 1080TI (11GB )).

I just tried loading UFC101 : data = VideoData(args), this work but then the error appear with:

  data.train_dataloader()
  data.test_dataloader()

Those are the parameters I used:

    parser.add_argument('--sequence_length', type=int, default=8)
    parser.add_argument('--resolution', type=int, default=64)
    parser.add_argument('--batch_size', type=int, default=1)
    parser.add_argument('--num_workers', type=int, default=0) #parser.add_argument('--num_workers', type=int, default=1) also same error

Here my paging file size: 98GB...
image

@wilson1yan
Copy link
Owner

Hi,

I'm not too familiar with Windows so I'm not too sure how to resolve this problem. However, the code does seem to work fine for me if I run it in WSL (though it is kind of hassle to update things to integrate with CUDA if you haven't already).

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