imageio Module have error:
PermissionError: [Errno 13] Permission denied: 'D:\Temp\tmp83zj1_lr.jpg'
File "testImgAug.py", line 189, in batchTest
images_aug = seq.augment_images(images)
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 603, in augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 2582, in _augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 515, in augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 3152, in _augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 515, in augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 2589, in _augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 515, in augment_images
hooks=hooks
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\arithmetic.py", line 2328, in _augment_images
image = imageio.imread(f.name, pilmode="RGB")
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\functions.py", line 206, in imread
reader = read(uri, format, 'i', **kwargs)
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\functions.py", line 123, in get_reader
format = formats.search_read_format(request)
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\format.py", line 673, in search_read_format
if format.can_read(request):
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\format.py", line 188, in can_read
return self._can_read(request)
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\plugins\pillow.py", line 102, in _can_read
if request.firstbytes and accept(request.firstbytes):
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\request.py", line 445, in firstbytes
self._read_first_bytes()
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\request.py", line 454, in _read_first_bytes
f = self.get_file()
File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\request.py", line 343, in get_file
self._file = open(self.filename, 'rb')
PermissionError: [Errno 13] Permission denied: 'D:\Temp\tmp83zj1_lr.jpg'
use iaa.JpegCompression(compression=(30, 95))
imageio Module have error: PermissionError: [Errno 13] Permission denied: 'D:\Temp\tmp83zj1_lr.jpg'
File "testImgAug.py", line 189, in batchTest images_aug = seq.augment_images(images) File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 603, in augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 2582, in _augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 515, in augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 3152, in _augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 515, in augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 2589, in _augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\meta.py", line 515, in augment_images hooks=hooks File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imgaug-0.2.8-py3.6.egg\imgaug\augmenters\arithmetic.py", line 2328, in _augment_images image = imageio.imread(f.name, pilmode="RGB") File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\functions.py", line 206, in imread reader = read(uri, format, 'i', **kwargs) File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\functions.py", line 123, in get_reader format = formats.search_read_format(request) File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\format.py", line 673, in search_read_format if format.can_read(request): File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\format.py", line 188, in can_read return self._can_read(request) File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\plugins\pillow.py", line 102, in _can_read if request.firstbytes and accept(request.firstbytes): File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\request.py", line 445, in firstbytes self._read_first_bytes() File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\request.py", line 454, in _read_first_bytes f = self.get_file() File "D:\Anaconda3_Pytorch_ForTensorFlow_Only_AVX2\Anaconda3_Pytorch\lib\site-packages\imageio\core\request.py", line 343, in get_file self._file = open(self.filename, 'rb') PermissionError: [Errno 13] Permission denied: 'D:\Temp\tmp83zj1_lr.jpg'