Skip to content

Commit e9b5e03

Browse files
committed
Merge branch 'feature/DeFlow'
2 parents 7c0d70f + 3f1e326 commit e9b5e03

9 files changed

Lines changed: 33 additions & 18 deletions

File tree

1_train.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
55
#
6-
# This work is licensed under the terms of the MIT license.
7-
# For a copy, see <https://opensource.org/licenses/MIT>.
6+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
89
910
# Description: Train Model
1011
"""

2_eval.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
55
#
6-
# This work is licensed under the terms of the MIT license.
7-
# For a copy, see <https://opensource.org/licenses/MIT>.
6+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
89
910
# Description: Output the evaluation results, go for local evaluation or online evaluation
1011
"""

3_vis.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
55
#
6-
# This work is licensed under the terms of the MIT license.
7-
# For a copy, see <https://opensource.org/licenses/MIT>.
6+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
89
910
# Description: produce flow based on model predict and write into the dataset,
1011
# then use tests/scene_flow.py flow_mode="flow_est" to visualize the flow.

dataprocess/extract_av2.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
55
#
6-
# This work is licensed under the terms of the MIT license.
7-
# For a copy, see <https://opensource.org/licenses/MIT>.
6+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
89
910
# Description: Preprocess Data, save as h5df format for faster loading
1011
# Reference:

dataprocess/extract_waymo.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
# Created: 2024-02-26 12:42
33
# Copyright (C) 2024-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/), Tianshuai Hu (thuaj@connect.ust.hk)
5-
5+
#
6+
# This file is part of SeFlow (https://github.com/KTH-RPL/SeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
9+
#
610
# Description: Preprocess Data, save as h5df format for faster loading
711
# This one is for Waymo dataset, refer a lot to
812
# Kyle's ZeroFlow code: https://github.com/kylevedder/zeroflow/tree/master/data_prep_scripts/waymo

scripts/network/loss_func.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
# Created: 2023-07-17 00:00
33
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
5-
#
5+
#
6+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
9+
#
610
# Description: Define the loss function for training.
711
"""
812
import torch

scripts/network/models/deflow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
55
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
66
#
7-
# This work is licensed under the terms of the MIT license.
8-
# For a copy, see <https://opensource.org/licenses/MIT>.
7+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
8+
# If you find this repo helpful, please cite the respective publication as
9+
# listed on the above website.
910
"""
1011

1112
import torch.nn as nn

scripts/pl_model.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
55
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
66
#
7-
# This work is licensed under the terms of the MIT license.
8-
# For a copy, see <https://opensource.org/licenses/MIT>.
9-
7+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
8+
# If you find this repo helpful, please cite the respective publication as
9+
# listed on the above website.
10+
#
1011
# Description: Model Wrapper for Pytorch Lightning
1112
1213
"""

tests/scene_flow.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
# Copyright (C) 2023-now, RPL, KTH Royal Institute of Technology
44
# Author: Qingwen Zhang (https://kin-zhang.github.io/)
55
#
6-
# This work is licensed under the terms of the MIT license.
7-
# For a copy, see <https://opensource.org/licenses/MIT>.
8-
6+
# This file is part of DeFlow (https://github.com/KTH-RPL/DeFlow).
7+
# If you find this repo helpful, please cite the respective publication as
8+
# listed on the above website.
9+
#
910
# Description: view scene flow dataset after preprocess.
1011
"""
1112

0 commit comments

Comments
 (0)