Traceback (most recent call last):

 "/usr/local/bin/ipython", line 4, in <module>
from IPython import start_ipython

 "/usr/local/lib/python2.7/dist-packages/IPython/__init__.py", line 48, in <module>
from .core.application import Application

 "/usr/local/lib/python2.7/dist-packages/IPython/core/application.py", line 24, in <module>
from IPython.core import release, crashhandler

 "/usr/local/lib/python2.7/dist-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb

 "/usr/local/lib/python2.7/dist-packages/IPython/core/ultratb.py", line 117, in <module>
from IPython.core import debugger

 "/usr/local/lib/python2.7/dist-packages/IPython/core/debugger.py", line 35, in <module>
from IPython.utils import PyColorize, ulinecache

 "/usr/local/lib/python2.7/dist-packages/IPython/utils/PyColorize.py", line 57, in <module>
from .colorable import Colorable

 "/usr/local/lib/python2.7/dist-packages/IPython/utils/colorable.py", line 21, in <module>
class Colorable(Configurable):

 "/usr/local/lib/python2.7/dist-packages/IPython/utils/colorable.py", line 25, in Colorable
default_style=Unicode('lightbg').tag(config=True)AttributeError: 'Unicode' object has no attribute 'tag'
Traceback (most recent call last):


 "/home/gz/anaconda3/envs/pc/lib/python3.8/runpy.py", line 194, in _run_module_as_main

return _run_code(code, main_globals, None,


 "/home/gz/anaconda3/envs/pc/lib/python3.8/runpy.py", line 87, in _run_code

exec(code, run_globals)


 "/home/gz/.vscode/extensions/ms-python.python-2021.3.680753044/python
s/lib/python/debugpy/__main__.py", line 45, in <module>

cli.main()


 "/home/gz/.vscode/extensions/ms-python.python-2021.3.680753044/python
s/lib/python/debugpy/../debugpy/server/cli.py", line 444, in main

run()


 "/home/gz/.vscode/extensions/ms-python.python-2021.3.680753044/python
s/lib/python/debugpy/../debugpy/server/cli.py", line 285, in run_file

runpy.run_path(target_as_str, run_name=compat.force_str("__main__"))


 "/home/gz/anaconda3/envs/pc/lib/python3.8/runpy.py", line 265, in run_path

return _run_module_code(code, init_globals, run_name,


 "/home/gz/anaconda3/envs/pc/lib/python3.8/runpy.py", line 97, in _run_module_code

_run_code(code, mod_globals, init_globals,


 "/home/gz/anaconda3/envs/pc/lib/python3.8/runpy.py", line 87, in _run_code

exec(code, run_globals)


 "/home/gz/桌面/3DCVcode/segmentation/PointNet12KiTTI/pcdseg.py", line 242, in <module>

evaluate(args)


 "/home/gz/桌面/3DCVcode/segmentation/PointNet12KiTTI/pcdseg.py", line 229, in evaluate

acc, miou = test_kitti_semseg(model.eval(), testdataloader,args.model_name,num_classes,class_names)


 "/home/gz/桌面/3DCVcode/segmentation/PointNet12KiTTI/pcdseg.py", line 64, in test_kitti_semseg

for points, target in tqdm(loader, total=len(loader), smoothing=0.9, dynamic_ncols=True):


 "/home/gz/anaconda3/envs/pc/lib/python3.8/site-packages/tqdm/std.py", line 1166, in __iter__

for obj in iterable:


 "/home/gz/anaconda3/envs/pc/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 435, in __next__

data = self._next_data()


 "/home/gz/anaconda3/envs/pc/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 475, in _next_data

data = self._dataset_fetcher.fetch(index)
# may raise StopIteration


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

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


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

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


 "/home/gz/桌面/3DCVcode/segmentation/PointNet12KiTTI/data_utils/SemKITTI_Loader.py", line 92, in __getitem__

point_cloud, label = self.get_data(self.keys[index])


 "/home/gz/桌面/3DCVcode/segmentation/PointNet12KiTTI/data_utils/SemKITTI_Loader.py", line 77, in get_data

if not self.np_redis.exists(key):


 "/home/gz/桌面/3DCVcode/segmentation/PointNet12KiTTI/data_utils/redis_utils.py", line 49, in exists

return bool(self.handle.execute_command('EXISTS ' + key))


 "/home/gz/anaconda3/envs/pc/lib/python3.8/site-packages/redis/client.py", line 898, in execute_command

conn = self.connection or pool.get_connection(command_name, **options)


 "/home/gz/anaconda3/envs/pc/lib/python3.8/site-packages/redis/connection.py", line 1192, in get_connection

connection.connect()


 "/home/gz/anaconda3/envs/pc/lib/python3.8/site-packages/redis/connection.py", line 563, in connect

raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused.
