-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpatch.diff
More file actions
30 lines (27 loc) · 2.24 KB
/
patch.diff
File metadata and controls
30 lines (27 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/projects/configs/petr/petr_vovnet_gridmask_p4_800x320.py b/projects/configs/petr/petr_vovnet_gridmask_p4_800x320.py
index f6a9614..1e38805 100644
--- a/projects/configs/petr/petr_vovnet_gridmask_p4_800x320.py
+++ b/projects/configs/petr/petr_vovnet_gridmask_p4_800x320.py
@@ -204,8 +204,8 @@ data = dict(
# we use box_type_3d='LiDAR' in kitti and nuscenes dataset
# and box_type_3d='Depth' in sunrgbd and scannet dataset.
box_type_3d='LiDAR'),
- val=dict(type=dataset_type, pipeline=test_pipeline, classes=class_names, modality=input_modality),
- test=dict(type=dataset_type, pipeline=test_pipeline, classes=class_names, modality=input_modality))
+ val=dict(type=dataset_type, data_root=data_root, ann_file=data_root + 'nuscenes_infos_val.pkl', pipeline=test_pipeline, classes=class_names, modality=input_modality),
+ test=dict(type=dataset_type, data_root=data_root, ann_file=data_root + 'nuscenes_infos_val.pkl', pipeline=test_pipeline, classes=class_names, modality=input_modality))
optimizer = dict(
type='AdamW',
diff --git a/projects/configs/petrv2/petrv2_vovnet_gridmask_p4_800x320.py b/projects/configs/petrv2/petrv2_vovnet_gridmask_p4_800x320.py
index 9b908bc..01a0cc8 100644
--- a/projects/configs/petrv2/petrv2_vovnet_gridmask_p4_800x320.py
+++ b/projects/configs/petrv2/petrv2_vovnet_gridmask_p4_800x320.py
@@ -216,8 +216,8 @@ data = dict(
# we use box_type_3d='LiDAR' in kitti and nuscenes dataset
# and box_type_3d='Depth' in sunrgbd and scannet dataset.
box_type_3d='LiDAR'),
- val=dict(type=dataset_type, pipeline=test_pipeline, ann_file=data_root + 'mmdet3d_nuscenes_30f_infos_val.pkl', classes=class_names, modality=input_modality),
- test=dict(type=dataset_type, pipeline=test_pipeline, ann_file=data_root + 'mmdet3d_nuscenes_30f_infos_val.pkl', classes=class_names, modality=input_modality))
+ val=dict(type=dataset_type, pipeline=test_pipeline, data_root=data_root, ann_file=data_root + 'mmdet3d_nuscenes_30f_infos_val.pkl', classes=class_names, modality=input_modality),
+ test=dict(type=dataset_type, pipeline=test_pipeline, data_root=data_root, ann_file=data_root + 'mmdet3d_nuscenes_30f_infos_val.pkl', classes=class_names, modality=input_modality))
optimizer = dict(