leezu opened a new issue #18322: URL: https://github.com/apache/incubator-mxnet/issues/18322
http://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/mxnet-validation/pipelines/windows-gpu/branches/PR-18312/runs/2/nodes/109/steps/155/log/?start=0 ``` [2020-05-14T09:13:07.293Z] __________________________ test_recordimage_dataset ___________________________ [2020-05-14T09:13:07.293Z] [gw0] win32 -- Python 3.7.3 C:\Python37\python.exe [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] @with_seed() [2020-05-14T09:13:07.293Z] def test_recordimage_dataset(): [2020-05-14T09:13:07.293Z] recfile = prepare_record() [2020-05-14T09:13:07.293Z] fn = lambda x, y : (x, y) [2020-05-14T09:13:07.293Z] dataset = gluon.data.vision.ImageRecordDataset(recfile).transform(fn) [2020-05-14T09:13:07.293Z] loader = gluon.data.DataLoader(dataset, 1) [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] > for i, (x, y) in enumerate(loader): [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] tests\python\unittest\test_gluon_data.py:75: [2020-05-14T09:13:07.293Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\gluon\data\dataloader.py:659: in same_process_iter [2020-05-14T09:13:07.293Z] ret = self._batchify_fn([self._dataset[idx] for idx in batch]) [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\gluon\data\dataloader.py:659: in <listcomp> [2020-05-14T09:13:07.293Z] ret = self._batchify_fn([self._dataset[idx] for idx in batch]) [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\gluon\data\dataset.py:232: in __getitem__ [2020-05-14T09:13:07.293Z] item = self._data[idx] [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\gluon\data\vision\datasets.py:271: in __getitem__ [2020-05-14T09:13:07.293Z] return image.imdecode(img, self._flag), header.label [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\image\image.py:211: in imdecode [2020-05-14T09:13:07.293Z] return cvimdecode(buf, *args, **kwargs) [2020-05-14T09:13:07.293Z] <string>:38: in _cvimdecode [2020-05-14T09:13:07.293Z] ??? [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\_ctypes\ndarray.py:91: in _imperative_invoke [2020-05-14T09:13:07.293Z] ctypes.byref(out_stypes))) [2020-05-14T09:13:07.293Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] ret = -1 [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] def check_call(ret): [2020-05-14T09:13:07.293Z] """Check the return value of C API call. [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] This function will raise an exception when an error occurs. [2020-05-14T09:13:07.293Z] Wrap every API call with this function. [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] Parameters [2020-05-14T09:13:07.293Z] ---------- [2020-05-14T09:13:07.293Z] ret : int [2020-05-14T09:13:07.293Z] return value from API calls. [2020-05-14T09:13:07.293Z] """ [2020-05-14T09:13:07.293Z] if ret != 0: [2020-05-14T09:13:07.293Z] > raise get_last_ffi_error() [2020-05-14T09:13:07.293Z] E mxnet.base.MXNetError: Traceback (most recent call last): [2020-05-14T09:13:07.293Z] E File "..\src\io\image_io.cc", line 190 [2020-05-14T09:13:07.293Z] E MXNetError: Check failed: len > 0: Input cannot be an empty buffer [2020-05-14T09:13:07.293Z] [2020-05-14T09:13:07.293Z] windows_package\python\mxnet\base.py:246: MXNetError [2020-05-14T09:13:07.293Z] ---------------------------- Captured stderr setup ---------------------------- ``` @zhreshold ---------------------------------------------------------------- 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: us...@infra.apache.org