mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Lee <gstu1...@gmail.com>
Subject Re: Regressions in NDArrayIter
Date Wed, 12 Sep 2018 01:44:55 GMT
I am looking into it.

Could you provide the shape of NDArrayIter and minimal reproducible code?
Thank you so much!

Alfredo Luque <alfredo.luque@airbnb.com.invalid> 於 2018年9月11日 週二 下午6:05寫道:

> Looks like https://github.com/apache/incubator-mxnet/pull/12285 broke a
> ton
> of our test cases iterating over 3D NDArray instances (eg; MNIST) by
> creating an index out of range.
>
> Stacktrace:
>
> .com/airbnb/bighead/python/bighead/ml_frameworks/mxnet/gluon.py", line
> 434, in transform
>     for batch in data_iter:
>   File "/anaconda3/envs/py36/lib/python3.6/site-packages/mxnet/io/io.py",
> line 228, in __next__
>     return self.next()
>   File "/anaconda3/envs/py36/lib/python3.6/site-packages/mxnet/io/io.py",
> line 680, in next
>     label = self.getlabel()
>   File "/anaconda3/envs/py36/lib/python3.6/site-packages/mxnet/io/io.py",
> line 750, in getlabel
>     return self._batchify(self.label)
>   File "/anaconda3/envs/py36/lib/python3.6/site-packages/mxnet/io/io.py",
> line 732, in _batchify
>     first_data = self._getdata(data_source, start=self.cursor)
>   File "/anaconda3/envs/py36/lib/python3.6/site-packages/mxnet/io/io.py",
> line 694, in _getdata
>     end = end if end is not None else data_source[0][1].shape[0]
> IndexError: list index out of range
>
> I’ve created an issue at
> https://github.com/apache/incubator-mxnet/issues/12526
>
>
> We’ll be pinning to the previous build until it’s reverted/patched, but let
> us know if we can help provide more regression tests here.
>
> —
> Alfredo Luque
> Software Engineer
> Machine Learning Infrastructure
> Airbnb
> San Francisco, CA
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message