Skip to content

dataloader is so slow? #688

@ghoshaw

Description

@ghoshaw

Hi, I write a dataloader class as customdata, and I tried when the train data is small the training seems ok. But when the dataset of train goes to 600K, then the log not moving after "mmseg - INFO - Use load_from_openmmlab loader".
after 12h, log is still the same.

According to my understanding, the dataloader only load the filenames of train dataset to the memory and then read the image when train is started. It should not need so much time. Is that right? and how to solve this problem?
num worker per gpu=4 or 0 seems to be useless about this question.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions