Describe the bug
To Reproduce
- try to open an image file while processing
torchvision.io.read_image{,_async}(string filename, ...).
Expected behavior
Please complete the following information:
- OS: at least on Windows
- Package: TorchVision
- Version: 0.105.1 or earlier
Additional context
- a possible workaround i can think of: use
torchvision.io.read_image{,_async}(Stream stream, ...) w/ correctly opened stream.