Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon4 No.168】Add gupnet implementation #333

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
31 changes: 30 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,33 @@ dmypy.json
# pycharm
.DS_Store
.idea/
FETCH_HEAD
FETCH_HEAD
paddle3d/datasets/__init__.py
Xiaolong-RRL marked this conversation as resolved.
Show resolved Hide resolved
paddle3d/datasets/kitti/__init__.py
paddle3d/datasets/kitti/kitti_gupnet_utils.py
paddle3d/datasets/kitti/kitti_gupnet.py
paddle3d/models/detection/__init__.py
paddle3d/models/detection/gupnet/__init__.py
paddle3d/models/detection/gupnet/gup_scheduler.py
paddle3d/models/detection/gupnet/gup_trainer.py
paddle3d/models/detection/gupnet/gupnet_dla.py
paddle3d/models/detection/gupnet/gupnet_helper.py
paddle3d/models/detection/gupnet/gupnet_loss.py
paddle3d/models/detection/gupnet/gupnet_predictor.py
paddle3d/models/detection/gupnet/gupnet.py
paddle3d_gupnet_train.py
paddle3d_gupnet_val.py
configs/gupnet/gupnet_dla34_kitti.yml
paddle3d/datasets/kitti/kitti_gupnet_utils.py
paddle3d/datasets/kitti/kitti_gupnet.py
paddle3d/models/detection/gupnet/gup_scheduler.py
paddle3d/models/detection/gupnet/gup_trainer.py
paddle3d/models/detection/gupnet/gupnet_dla.py
paddle3d/models/detection/gupnet/gupnet_helper.py
paddle3d/models/detection/gupnet/gupnet_loss.py
paddle3d/models/detection/gupnet/gupnet_predictor.py
paddle3d/models/detection/gupnet/gupnet.py
paddle3d_gupnet_train.py
paddle3d_gupnet_val.py
configs/gupnet/gupnet_dla34_kitti.yml
paddle3d_gupnet_train.py
27 changes: 27 additions & 0 deletions configs/gupnet/gupnet_dla34_kitti.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
batch_size: 32
epochs: 140

train_dataset:
type: GUPKittiMonoDataset
dataset_root: /your_dataset_dir/kitti
mode: train
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

数据处理以transforms的方式展示出来,形式为
transforms:
- type:
- type:
- type:


val_dataset:
type: GUPKittiMonoDataset
dataset_root: /your_dataset_dir/kitti
mode: val

optimizer:
type: Adam
Xiaolong-RRL marked this conversation as resolved.
Show resolved Hide resolved

lr_scheduler:
type: MultiStepDecay
milestones: [90, 120]
learning_rate: 0.00125

model:
type: GUPNET
downsample: 4
threshold: 0.2
val_dataset_root: /your_dataset_dir/kitti
Xiaolong-RRL marked this conversation as resolved.
Show resolved Hide resolved
pretrained_model: ./checkpoint/dla34-ba72cf86_paddle.pdparams
2 changes: 1 addition & 1 deletion paddle3d/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

from .base import BaseDataset
from .kitti import KittiDepthDataset, KittiMonoDataset, KittiPCDataset
from .kitti import KittiDepthDataset, KittiMonoDataset, KittiPCDataset, GUPKittiMonoDataset
from .modelnet40 import ModelNet40
from .nuscenes import NuscenesMVDataset, NuscenesPCDataset, NuscenesMVSegDataset
from .waymo import WaymoPCDataset
1 change: 1 addition & 0 deletions paddle3d/datasets/kitti/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
from .kitti_depth_det import KittiDepthDataset
from .kitti_mono_det import KittiMonoDataset
from .kitti_pointcloud_det import KittiPCDataset
from .kitti_gupnet import GUPKittiMonoDataset
Loading