I want to eval these models, but some error was happened as fellow:
Traceback (most recent call last):
File "/anaconda3/envs/py38/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg
return obj_cls(*args)
File "/UniAD/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py", line 78, in init
super().init(args, **kwargs)
File "/UniAD/mmdetection3d/mmdet3d/datasets/nuscenes_dataset.py", line 131, in init
super().init(
File "/UniAD/mmdetection3d/mmdet3d/datasets/custom_3d.py", line 88, in init
self.data_infos = self.load_annotations(open(local_path, 'rb'))
File "/UniAD/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py", line 152, in load_annotations
data = pickle.loads(self.file_client.get(ann_file))
File "/anaconda3/envs/py38/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 1015, in get
return self.client.get(filepath)
File "/anaconda3/envs/py38/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 536, in get
with open(filepath, 'rb') as f:
TypeError: expected str, bytes or os.PathLike object, not _io.BufferedReader
I want to eval these models, but some error was happened as fellow:
Traceback (most recent call last): File "/anaconda3/envs/py38/lib/python3.8/site-packages/mmcv/utils/registry.py", line 69, in build_from_cfg return obj_cls(*args) File "/UniAD/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py", line 78, in init super().init(args, **kwargs) File "/UniAD/mmdetection3d/mmdet3d/datasets/nuscenes_dataset.py", line 131, in init super().init( File "/UniAD/mmdetection3d/mmdet3d/datasets/custom_3d.py", line 88, in init self.data_infos = self.load_annotations(open(local_path, 'rb')) File "/UniAD/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py", line 152, in load_annotations data = pickle.loads(self.file_client.get(ann_file)) File "/anaconda3/envs/py38/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 1015, in get return self.client.get(filepath) File "/anaconda3/envs/py38/lib/python3.8/site-packages/mmcv/fileio/file_client.py", line 536, in get with open(filepath, 'rb') as f: TypeError: expected str, bytes or os.PathLike object, not _io.BufferedReader
Can you help me?