honglei opened a new issue #19591:
URL: https://github.com/apache/incubator-mxnet/issues/19591


   ## Description
   Env: Win10/Python3.8.9 x64/mxnet_cu102-1.7.0-py2.py3-none-win_amd64.whl from 
https://dist.mxnet.io/python/cu102
   ```python
   import os
   import mxnet as mx
   img_fp = r'D:\PythonDev\DocManagement\books\息烽民间故事选\page-1.png'
   assert os.path.isfile(img_fp)
   img = mx.image.imread(img_fp, 1)
   ```
   
   ### Error Message
   
   ```
    File "D:\PythonDev\DocManagement\mxnet_test.py", line 5, in <module>
     img = mx.image.imread(img_fp, 1)
   File "c:\Python37\Lib\site-packages\mxnet\image\image.py", line 93, in imread
     return read_fn(filename, *args, **kwargs)
   File "<string>", line 37, in _cvimread
   File "c:\Python37\Lib\site-packages\mxnet\_ctypes\ndarray.py", line 91, in 
_imperative_invoke
     ctypes.byref(out_stypes)))
   File "c:\Python37\Lib\site-packages\mxnet\base.py", line 246, in check_call
     raise get_last_ffi_error()
   
   mxnet.base.MXNetError: Traceback (most recent call last):
   File "C:\Jenkins\workspace\mxnet-tag\mxnet\src\io\image_io.cc", line 223
   Imread: Check failed: file.is_open(): 
'D:\PythonDev\DocManagement\books\息烽民间故事选\page-1.png' couldn't open file: No 
such file or directory
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to