{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10669","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10669/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10669/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/10669/events","html_url":"https://github.com/apache/incubator-mxnet/issues/10669","id":317081852,"number":10669,"title":"Bug: failed to load some images with mx.image.imread()","user":{"login":"ThomasDelteil","id":3716307,"avatar_url":"https://avatars2.githubusercontent.com/u/3716307?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasDelteil","html_url":"https://github.com/ThomasDelteil","followers_url":"https://api.github.com/users/ThomasDelteil/followers","following_url":"https://api.github.com/users/ThomasDelteil/following{/other_user}","gists_url":"https://api.github.com/users/ThomasDelteil/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasDelteil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasDelteil/subscriptions","organizations_url":"https://api.github.com/users/ThomasDelteil/orgs","repos_url":"https://api.github.com/users/ThomasDelteil/repos","events_url":"https://api.github.com/users/ThomasDelteil/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasDelteil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T06:06:42Z","updated_at":"2018-04-24T06:06:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I have a strange bug when trying to load an image (a few in 1M dataset) :\r\n`mx.image.imread('test_image.jpg')`\r\nDownload this image: \r\n![test_image](https://user-images.githubusercontent.com/3716307/39168997-d342a01e-474a-11e8-9236-20f980448723.jpg)\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nException                                 Traceback (most recent call last)\r\n<ipython-input-23-5a6fafb096da> in <module>()\r\n----> 1 mx.image.imread('/data/amazon_images_subset/B00DN49D12.jpg')\r\n\r\n~/anaconda3/lib/python3.6/site-packages/mxnet/image/image.py in imread(filename, *args, **kwargs)\r\n     80     <NDArray 224x224x3 @cpu(0)>\r\n     81     \"\"\"\r\n---> 82     return _internal._cvimread(filename, *args, **kwargs)\r\n     83 \r\n     84 \r\n\r\n~/anaconda3/lib/python3.6/site-packages/mxnet/ndarray/register.py in _cvimread(filename, flag, to_rgb, out, name, **kwargs)\r\n\r\n~/anaconda3/lib/python3.6/site-packages/mxnet/_ctypes/ndarray.py in _imperative_invoke(handle, ndargs, keys, vals, out)\r\n     96     if num_output.value == 1:\r\n     97         return _ndarray_cls(ctypes.cast(output_vars[0], NDArrayHandle),\r\n---> 98                             stype=out_stypes[0])\r\n     99     else:\r\n    100         return [_ndarray_cls(ctypes.cast(output_vars[i], NDArrayHandle),\r\n\r\n~/anaconda3/lib/python3.6/site-packages/mxnet/ndarray/sparse.py in _ndarray_cls(handle, writable, stype)\r\n   1181         return RowSparseNDArray(handle, writable=writable)\r\n   1182     else:\r\n-> 1183         raise Exception(\"unknown storage type: %s\"%stype)\r\n   1184 \r\n   1185 \r\n\r\nException: unknown storage type: -1\r\n```\r\n\r\n"}}
{"actor":{"display_login":"ThomasDelteil"}}