Ignore didn't realize that using thread_pool and num_worker is mutually exclusive

pip3 install of 1.5.0 occurs on rec/idx files made by earlier version of mxnet 1.4.1. Also occurs on ImageFolderDataset. With and without multiprocessing imported. Using num_workers and

AttributeError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/mxnet/gluon/block.py in _get_graph(self, *args)
748 with self.name_scope():
–> 749 out = self.hybrid_forward(symbol, *grouped_inputs, **params) # pylint: disable=no-value-for-parameter
750 out, self._out_format = _flatten(out, “output”)

/usr/local/lib/python3.6/dist-packages/mxnet/gluon/nn/basic_layers.py in hybrid_forward(self, F, x)
116 for block in self._children.values():
–> 117 x = block(x)
118 return x

/usr/local/lib/python3.6/dist-packages/mxnet/gluon/block.py in call(self, *args)
–> 548 out = self.forward(*args)

/usr/local/lib/python3.6/dist-packages/mxnet/gluon/block.py in forward(self, x, *args)
931 with self.name_scope():
–> 932 return self.hybrid_forward(symbol, x, *args, **params)

/usr/local/lib/python3.6/dist-packages/mxnet/gluon/block.py in exit(self, ptype, value, trace)
86 return
—> 87 self._name_scope.exit(ptype, value, trace)
88 self._name_scope = None

AttributeError: ‘NoneType’ object has no attribute ‘exit
During handling of the above exception, another exception occurred:

/usr/local/lib/python3.6/dist-packages/mxnet/gluon/data/dataloader.py in _thread_worker_fn(samples, batchify_fn, dataset)
405 def _thread_worker_fn(samples, batchify_fn, dataset):
406 “”“Threadpool worker function for processing data.”""
–> 407 return batchify_fn([dataset[i] for i in samples])
409 class _MultiWorkerIter(object)