Open sandipmgiri opened 6 years ago
@anirudh2290 Can you please add label: Python, test
@mxnet-label-bot: ["Good First Issue"]
@mxnet-label-bot [Good First Issue]
Hi,
Any help on this? I am also running into the same issue.
Seems that StopIteration is raised directly, ie the iterator is empty.
Description
Following 2 tests are failing with error
UnboundLocalError: local variable 'label' referenced before assignment
Environment info (Required)
ubuntu:16.04 (x86) Python 2.7.12 numpy 1.15.0
Package used (Python/R/Scala/Julia): (I'm using Python...)
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio): gcc MXNet commit hash: (Paste the output of
git rev-parse HEAD
here.) 564e01acdf460535d4ab7340db39b0d10028b453Build config: (Paste the content of config.mk, or the build command.)
(Paste the complete error message, including stack trace.) $ python -m pytest -v tests/python/unittest/test_image.py::TestImage::test_image_detiter
$ python -m pytest -v tests/python/unittest/test_image.py::TestImage::test_det_augmenters
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Tried installing different numpy version, but still these 2 tests are failing.
Looks like configuration/dependency issue. Any inputs would be appreciated. Thanks!