Skip to content

Commit

Permalink
rm point_cloud_range in occupancy task
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangJunJie2017 committed May 7, 2023
1 parent e18eae6 commit f71858d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
4 changes: 0 additions & 4 deletions configs/bevdet_occ/bevdet-occ-r50-4d-stereo-24e.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@

_base_ = ['../_base_/datasets/nus-3d.py', '../_base_/default_runtime.py']
# Global
# If point cloud range is changed, the models should also change their point
# cloud range accordingly
point_cloud_range = [-51.2, -51.2, -5.0, 51.2, 51.2, 3.0]
# For nuScenes we usually do 10-class detection
class_names = [
'car', 'truck', 'construction_vehicle', 'bus', 'trailer', 'barrier',
Expand Down Expand Up @@ -70,7 +67,6 @@
align_after_view_transfromation=False,
num_adj=len(range(*multi_adj_frame_id_cfg)),
img_backbone=dict(
pretrained='torchvision://resnet50',
type='ResNet',
depth=50,
num_stages=4,
Expand Down
8 changes: 2 additions & 6 deletions configs/bevdet_occ/bevdet-occ-r50-4d-stereo-24e_384704.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@


_base_ = ['../_base_/datasets/nus-3d.py', '../_base_/default_runtime.py']
# Global
# If point cloud range is changed, the models should also change their point
# cloud range accordingly
point_cloud_range = [-51.2, -51.2, -5.0, 51.2, 51.2, 3.0]
# For nuScenes we usually do 10-class detection
class_names = [
'car', 'truck', 'construction_vehicle', 'bus', 'trailer', 'barrier',
Expand Down Expand Up @@ -315,14 +311,14 @@

test_data_config = dict(
pipeline=test_pipeline,
ann_file=data_root + 'bevdetv2-nuscenes-occ_infos_val.pkl')
ann_file=data_root + 'bevdetv2-nuscenes_infos_val.pkl')

data = dict(
samples_per_gpu=4,
workers_per_gpu=4,
train=dict(
data_root=data_root,
ann_file=data_root + 'bevdetv2-nuscenes-occ_infos_train.pkl',
ann_file=data_root + 'bevdetv2-nuscenes_infos_train.pkl',
pipeline=train_pipeline,
classes=class_names,
test_mode=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@

_base_ = ['../_base_/datasets/nus-3d.py', '../_base_/default_runtime.py']
# Global
# If point cloud range is changed, the models should also change their point
# cloud range accordingly
point_cloud_range = [-51.2, -51.2, -5.0, 51.2, 51.2, 3.0]
# For nuScenes we usually do 10-class detection
class_names = [
'car', 'truck', 'construction_vehicle', 'bus', 'trailer', 'barrier',
Expand Down Expand Up @@ -210,14 +207,14 @@

test_data_config = dict(
pipeline=test_pipeline,
ann_file=data_root + 'bevdetv2-nuscenes-occ_infos_val.pkl')
ann_file=data_root + 'bevdetv2-nuscenes_infos_val.pkl')

data = dict(
samples_per_gpu=4,
workers_per_gpu=4,
train=dict(
data_root=data_root,
ann_file=data_root + 'bevdetv2-nuscenes-occ_infos_train.pkl',
ann_file=data_root + 'bevdetv2-nuscenes_infos_train.pkl',
pipeline=train_pipeline,
classes=class_names,
test_mode=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@


_base_ = ['../_base_/datasets/nus-3d.py', '../_base_/default_runtime.py']
# Global
# If point cloud range is changed, the models should also change their point
# cloud range accordingly
point_cloud_range = [-51.2, -51.2, -5.0, 51.2, 51.2, 3.0]
# For nuScenes we usually do 10-class detection
class_names = [
'car', 'truck', 'construction_vehicle', 'bus', 'trailer', 'barrier',
Expand Down

0 comments on commit f71858d

Please sign in to comment.