
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/private/var/folders/8g/g0s3c_xn0d793245v_mj5khm0000gn/T/pip-req-build-GU6QvU/setup.py", line 41, in <module>

'Programming Language :: Python :: 3.6'])


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/setuptools/__init__.py", line 128, in setup

_install_setup_requires(attrs)


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires

dist.fetch_build_eggs(dist.setup_requires)


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/setuptools/dist.py", line 504, in fetch_build_eggs

replace_conflicting=True,


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve

replace_conflicting=replace_conflicting


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1057, in best_match

return self.obtain(req, installer)


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in obtain

return installer(requirement)


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/setuptools/dist.py", line 571, in fetch_build_egg

return cmd.easy_install(req)


 "/Users/jimbrannlund/dev/pytest-tags/.tox/py27-pytest29/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 667, in easy_install

raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm')

Traceback (most recent call last):


 "detection_train.py", line 231, in <module>

train_net(parse_args())


 "detection_train.py", line 214, in train_net

num_epoch=end_epoch


 "/home/zrz/code/simpledet-master/core/detection_module.py", line 995, in fit

self.update_metric(eval_metric, data_batch.label)


 "/home/zrz/code/simpledet-master/core/detection_module.py", line 783, in update_metric

self._exec_group.update_metric(eval_metric, labels, pre_sliced)


 "/home/zrz/miniconda3/envs/runze_env_name/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/module/executor_group.py", line 639, in update_metric

eval_metric.update_dict(labels_, preds)


 "/home/zrz/miniconda3/envs/runze_env_name/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/metric.py", line 350, in update_dict

metric.update_dict(labels, preds)


 "/home/zrz/miniconda3/envs/runze_env_name/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/metric.py", line 133, in update_dict

self.update(label, pred)


 "/home/zrz/code/simpledet-master/core/detection_metric.py", line 41, in update

pred_label = mx.ndarray.argmax_channel(pred).astype('int32').asnumpy().reshape(-1)


 "/home/zrz/miniconda3/envs/runze_env_name/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/ndarray/ndarray.py", line 1995, in asnumpy

ctypes.c_size_t(data.size)))


 "/home/zrz/miniconda3/envs/runze_env_name/lib/python3.6/site-packages/mxnet-1.5.0-py3.6.egg/mxnet/base.py", line 254, in check_call

raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [16:16:32] include/mxnet/tuple.h:202: Check failed: i >= 0 && i < ndim(): index = 0 must be in range [0, -1)
