Closed fmassa closed 2 years ago
Self-explanatory. I believe the modes should be the same for ease of exchangeability. PyTorch FileLoader uses b by default, while IoPathFileLoader uses r https://github.com/pytorch/data/blob/4802a350d1bf954d0785e0f22fd1fcde2deded76/torchdata/datapipes/iter/load/iopath.py#L56
FileLoader
b
IoPathFileLoader
r
SGTM
@NivekT Has this issue been solved in one of your PRs? Can we close it?
Yep, fixed by https://github.com/pytorch/pytorch/pull/70367.
🚀 Feature
Self-explanatory. I believe the modes should be the same for ease of exchangeability. PyTorch
FileLoader
usesb
by default, whileIoPathFileLoader
usesr
https://github.com/pytorch/data/blob/4802a350d1bf954d0785e0f22fd1fcde2deded76/torchdata/datapipes/iter/load/iopath.py#L56