DataLoader, when num_worker >0, there is bug

Since PyTorch seems to adopt lazy way of initializing workers, this means that the actual file opening has to happen inside of the getitem function of the Dataset wrapper.

https://discuss.pytorch.org/t/dataloader-when-num-worker-0-there-is-bug/25643/2

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章