Original Traceback (most recent call last):


 "/home/anaconda3/envs/pytorch13_py37/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/home/anaconda3/envs/pytorch13_py37/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/anaconda3/envs/pytorch13_py37/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "test.py", line 40, in __getitem__

calib = img_info['calib'] if 'calib' in img_info else self.get_default_calib(image.shape[1], image.shape[0])
AttributeError: 'NoneType' object has no attribute 'shape'

Traceback (most recent call last):


 "/usr/local/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 1114, in invoke

return Command.invoke(self, ctx)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/pipenv/cli/command.py", line 142, in cli

get_pipenv_diagnostics()


 "/usr/local/lib/python2.7/dist-packages/pipenv/help.py", line 33, in get_pipenv_diagnostics

python_paths = finder.find_all_python_versions()


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 108, in find_all_python_versions

major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch


 "/usr/local/lib/python2.7/dist-packages/pipenv/vendor/pythonfinder/models/path.py", line 221, in find_all_python_versions

return [c for c in sorted(path_filter, key=version_sort, reverse=True)]
AttributeError: 'list' object has no attribute 'as_python'
