Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

torch.utils.data.Dataloder with num_workers=4, get stuck, why? #21

Open
FiredFree opened this issue May 6, 2019 · 1 comment
Open

Comments

@FiredFree
Copy link

here is the code
dt = VideoIter(config.NTU, config.test_set, sampler=None, gpu_id=7)
dl = data.DataLoader(dt, 128, num_workers=4)

but, when num_workers=0, this code woks fine.

@Pozimek
Copy link

Pozimek commented Aug 30, 2019

Pytorch issue #13246 is likely the cause.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants