Traceback (most recent call last):


 "/lib/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "tensorflow/tensorpack/tensorpack/dataflow/parallel_map.py", line 125, in run

obj = self.func(dp)


 "tensorflow/tensorpack/examples/DoReFa-Net/imagenet_utils.py", line 114, in mapf

im = aug.augment(im)


 "tensorflow/tensorpack/tensorpack/dataflow/imgaug/base.py", line 39, in augment

d, params = self._augment_return_params(d)


 "tensorflow/tensorpack/tensorpack/dataflow/imgaug/base.py", line 151, in _augment_return_params

check_dtype(img)


 "tensorflow/tensorpack/tensorpack/dataflow/image.py", line 17, in check_dtype

if isinstance(img.dtype, np.integer):
AttributeError: 'NoneType' object has no attribute 'dtype'

Traceback (most recent call last):


 "/home/gabo/projects/ninja-local/ninja_ide/gui/editor/checkers/not_import_checker.py", line 88, in run

checker.get_imports())


 "/home/gabo/projects/ninja-local/ninja_ide/dependencies/notimportchecker.py", line 97, in get_imports

searcher.visit(stmt)


 "/usr/lib/python3.5/ast.py", line 245, in visit

return visitor(node)


 "/usr/lib/python3.5/ast.py", line 249, in generic_visit

for field, value in iter_fields(node):


 "/usr/lib/python3.5/ast.py", line 170, in iter_fields

for field in node._fields:
AttributeError: 'int' object has no attribute '_fields'
