Skip to content

Commit

Permalink
updae model weight on Rope3D dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
destinyls committed Nov 6, 2023
1 parent 653e9e0 commit f5894ab
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 19 deletions.
70 changes: 68 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ python [EXP_PATH] --ckpt_path [CKPT_PATH] -e -b 8 --gpus 8


- DAIR-V2X-I Dataset
<div align=center>
<div align=left>
<table>
<tr align=center>
<td rowspan="3">Method</td>
Expand Down Expand Up @@ -172,7 +172,73 @@ python [EXP_PATH] --ckpt_path [CKPT_PATH] -e -b 8 --gpus 8
<td>61.03</td>
<td><a href="https://cloud.tsinghua.edu.cn/f/9a0f179055724f5db6a3/?dl=1">model</a></td>
</tr>

<table>
</div>

- Rope3D Dataset
<td><a href="https://cloud.tsinghua.edu.cn/f/f29279cebcbd4b3c8fb6/?dl=1">hom_train.pkl</a></td> <td><a href="https://cloud.tsinghua.edu.cn/f/3a9f3c7294794456b92d/?dl=1">hom_val.pkl</a></td>

<div align=center>
<table>
<tr align=center>
<td rowspan="2">Method</td>
<td rowspan="2" align=center>Config File</td>
<td rowspan="2" align=center>Range</td>
<td colspan="3" align=center>Car | [email protected]</td>
<td colspan="3" align=center>Big Vehicle | [email protected]</td>
<td colspan="3" align=center>Car | [email protected]</td>
<td colspan="3" align=center>Big Vehicle | [email protected]</td>
<td rowspan="2" align=center>model pth</td>
</tr>
<tr align=center>
<td>Easy</td>
<td>Mod.</td>
<td>Hard</td>
<td>Easy</td>
<td>Mod.</td>
<td>Hard</td>
<td>Easy</td>
<td>Mod.</td>
<td>Hard</td>
<td>Easy</td>
<td>Mod.</td>
<td>Hard</td>
</tr>
<tr align=center>
<td rowspan="4">BEVHeight</td>
<td><a href=exps/rope3d/bev_height_lss_r50_864_1536_128x128_102.py>R50_102</td>
<td>[0, 102.4]</td>
<td>83.49</td>
<td>72.46</td>
<td>70.17</td>
<td>50.73</td>
<td>47.81</td>
<td>47.80</td>
<td>48.12</td>
<td>42.45</td>
<td>42.34</td>
<td>24.58</td>
<td>26.25</td>
<td>26.28</td>
<td><a href="https://cloud.tsinghua.edu.cn/f/fa3e2d07d62a44b7a337/?dl=1">model</a></td>
</tr>
<tr align=center>
<td><a href=exps/rope3d/bev_height_lss_r50_864_1536_128x128_140.py>R50_140</td>
<td>[0, 140.8]</td>
<td>85.46</td>
<td>79.15</td>
<td>79.06</td>
<td>64.38</td>
<td>65.75</td>
<td>65.77</td>
<td>46.39</td>
<td>42.85</td>
<td>42.71</td>
<td>27.21</td>
<td>33.99</td>
<td>34.03</td>
<td><a href="https://cloud.tsinghua.edu.cn/f/343be049d5e74d14a5af/?dl=1">model</a></td>
</tr>
</table>
</div>

Expand Down
2 changes: 1 addition & 1 deletion data/rope3d
1 change: 1 addition & 0 deletions data/rope3d-kitti
6 changes: 3 additions & 3 deletions exps/rope3d/bev_height_lss_r101_864_1536_256x256_102.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def train_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_train.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_train.pkl'),
is_train=True,
use_cbgs=self.data_use_cbgs,
img_conf=self.img_conf,
Expand Down Expand Up @@ -334,7 +334,7 @@ def val_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_val.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_val.pkl'),
is_train=False,
img_conf=self.img_conf,
num_sweeps=self.num_sweeps,
Expand Down Expand Up @@ -396,7 +396,7 @@ def run_cli():
parser.set_defaults(
profiler='simple',
deterministic=False,
max_epochs=70,
max_epochs=20,
accelerator='ddp',
num_sanity_val_steps=0,
gradient_clip_val=5,
Expand Down
10 changes: 5 additions & 5 deletions exps/rope3d/bev_height_lss_r101_864_1536_256x256_140.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
'img_backbone_conf':
dict(
type='ResNet',
depth=50,
depth=101,
frozen_stages=0,
out_indices=[0, 1, 2, 3],
norm_eval=False,
init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50'),
init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet101'),
),
'img_neck_conf':
dict(
Expand Down Expand Up @@ -306,7 +306,7 @@ def train_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_train.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_train.pkl'),
is_train=True,
use_cbgs=self.data_use_cbgs,
img_conf=self.img_conf,
Expand Down Expand Up @@ -334,7 +334,7 @@ def val_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_val.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_val.pkl'),
is_train=False,
img_conf=self.img_conf,
num_sweeps=self.num_sweeps,
Expand Down Expand Up @@ -396,7 +396,7 @@ def run_cli():
parser.set_defaults(
profiler='simple',
deterministic=False,
max_epochs=60,
max_epochs=20,
accelerator='ddp',
num_sanity_val_steps=0,
gradient_clip_val=5,
Expand Down
6 changes: 3 additions & 3 deletions exps/rope3d/bev_height_lss_r50_864_1536_128x128_102.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def train_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_train.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_train.pkl'),
is_train=True,
use_cbgs=self.data_use_cbgs,
img_conf=self.img_conf,
Expand Down Expand Up @@ -334,7 +334,7 @@ def val_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_val.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_val.pkl'),
is_train=False,
img_conf=self.img_conf,
num_sweeps=self.num_sweeps,
Expand Down Expand Up @@ -396,7 +396,7 @@ def run_cli():
parser.set_defaults(
profiler='simple',
deterministic=False,
max_epochs=70,
max_epochs=20,
accelerator='ddp',
num_sanity_val_steps=0,
gradient_clip_val=5,
Expand Down
6 changes: 3 additions & 3 deletions exps/rope3d/bev_height_lss_r50_864_1536_128x128_140.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def train_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_train.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_train.pkl'),
is_train=True,
use_cbgs=self.data_use_cbgs,
img_conf=self.img_conf,
Expand Down Expand Up @@ -334,7 +334,7 @@ def val_dataloader(self):
ida_aug_conf=self.ida_aug_conf,
classes=self.class_names,
data_root=self.data_root,
info_path=os.path.join(data_root, 'rope3d_12hz_infos_val.pkl'),
info_path=os.path.join(data_root, 'rope3d_12hz_infos_hom_val.pkl'),
is_train=False,
img_conf=self.img_conf,
num_sweeps=self.num_sweeps,
Expand Down Expand Up @@ -396,7 +396,7 @@ def run_cli():
parser.set_defaults(
profiler='simple',
deterministic=False,
max_epochs=60,
max_epochs=20,
accelerator='ddp',
num_sanity_val_steps=0,
gradient_clip_val=5,
Expand Down
5 changes: 3 additions & 2 deletions scripts/gen_info_rope3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,13 @@ def main():
rope3d_root = "data/rope3d"
train_infos = generate_info_rope3d(rope3d_root, split='train')
val_infos = generate_info_rope3d(rope3d_root, split='val')

total_infos = train_infos + val_infos
random.shuffle(total_infos)
train_infos = total_infos[:int(0.7 * len(total_infos))]
val_infos = total_infos[int(0.7 * len(total_infos)):]
mmcv.dump(train_infos, './data/rope3d/rope3d_12hz_infos_train.pkl')
mmcv.dump(train_infos, './data/rope3d/rope3d_12hz_infos_val.pkl')
mmcv.dump(train_infos, './data/rope3d/rope3d_12hz_infos_hom_train.pkl')
mmcv.dump(val_infos, './data/rope3d/rope3d_12hz_infos_hom_val.pkl')

if __name__ == '__main__':
main()

0 comments on commit f5894ab

Please sign in to comment.