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

Huge datasets #8

Open
abreufilho opened this issue Jul 8, 2021 · 1 comment
Open

Huge datasets #8

abreufilho opened this issue Jul 8, 2021 · 1 comment

Comments

@abreufilho
Copy link

Hello, this network is awesome. I've been using your code on my custom dataset but now i am trying to run it on a huge dataset and this code only loads all the dataset on the RAM memory. I already have 64 GB of RAM but for my usage i would need much more RAM.

So i am submitting this issue to ask if there's any way to load data for each batch directly on the disk, so i can use this huge dataset.

@dilraj1983
Copy link

The code posted in the repository loads the entire data in the RAM while defining the ChangeDetectionDataset Class. You can alter it by reading for example only the paths to the images and then reading each batch only while training on the fly by using the Dataloader Class. You can go through the pytorch docs for in depth understanding of the Dataloader Class

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