在进行数据预处理的时候出现了以下报错,看样子是数组reshaped的问题,请问具体是什么原因导致的(没有使用提供的pkl文件)
[>>>>>>>>>>>>>>>>>>> ] 22523/28130, 2.4 task/s, elapsed: 9411s, ETA: 2343sTraceback (most recent call last):
File "tools/create_data.py", line 97, in
nuscenes_data_prep(
File "tools/create_data.py", line 47, in nuscenes_data_prep
create_groundtruth_database(dataset_name, root_path, info_prefix,
File "/data/coding/tools/data_converter/create_gt_database.py", line 105, in create_groundtruth_database
example = dataset.pipeline(input_dict)
File "/data/miniconda/envs/torch/lib/python3.8/site-packages/mmdet3d/datasets/pipelines/compose.py", line 49, in call
data = t(data)
File "/data/miniconda/envs/torch/lib/python3.8/site-packages/mmdet3d/datasets/pipelines/loading.py", line 228, in call
points_sweep = np.copy(points_sweep).reshape(-1, self.load_dim)
ValueError: cannot reshape array of size 229376 into shape (5)
在进行数据预处理的时候出现了以下报错,看样子是数组reshaped的问题,请问具体是什么原因导致的(没有使用提供的pkl文件) [>>>>>>>>>>>>>>>>>>> ] 22523/28130, 2.4 task/s, elapsed: 9411s, ETA: 2343sTraceback (most recent call last): File "tools/create_data.py", line 97, in
nuscenes_data_prep(
File "tools/create_data.py", line 47, in nuscenes_data_prep
create_groundtruth_database(dataset_name, root_path, info_prefix,
File "/data/coding/tools/data_converter/create_gt_database.py", line 105, in create_groundtruth_database
example = dataset.pipeline(input_dict)
File "/data/miniconda/envs/torch/lib/python3.8/site-packages/mmdet3d/datasets/pipelines/compose.py", line 49, in call
data = t(data)
File "/data/miniconda/envs/torch/lib/python3.8/site-packages/mmdet3d/datasets/pipelines/loading.py", line 228, in call
points_sweep = np.copy(points_sweep).reshape(-1, self.load_dim)
ValueError: cannot reshape array of size 229376 into shape (5)