You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,11 @@ Check usage in [2. Evaluation](#2-evaluation) or [3. Visualization](#3-visualiza
21
21
-`dataprocess/extract_*.py` : pre-process data before training to speed up the whole training time.
22
22
[Dataset we included now: Argoverse 2 and Waymo, more on the way: Nuscenes, custom data.]
23
23
24
-
-`1_train.py`: Train the model and get model checkpoints. Pls remember to check the config.
24
+
-`train.py`: Train the model and get model checkpoints. Pls remember to check the config.
25
25
26
-
-`2_eval.py` : Evaluate the model on the validation/test set. And also upload to online leaderboard.
26
+
-`eval.py` : Evaluate the model on the validation/test set. And also output the zip file to upload to online leaderboard.
27
27
28
-
-`3_vis.py` : For visualization of the results with a video.
28
+
-`save.py` : Will save result into h5py file, using [tool/visualization.py] to show results with interactive window.
29
29
30
30
31
31
<details> <summary>🎁 <b>One repository, All methods!</b> </summary>
@@ -105,8 +105,8 @@ All local benchmarking methods and ablation studies can be done through command
105
105
Best fine-tuned model train with following command by other default config in [conf/config.yaml](conf/config.yaml) and [conf/model/deflow.yaml](conf/model/deflow.yaml), if you will set wandb_mode=online, maybe change all `entity="kth-rpl"` to your own account name.
We already write the estimate flow: deflow_best into the dataset, please run following commend to visualize the flow. Copy and paste it to your terminal:
If you want to contribute to new model, here are tips you can follow:
117
113
1. Dataloader: we believe all data could be process to `.h5`, we named as different scene and inside a scene, the key of each data is timestamp. Check [dataprocess/README.md](../dataprocess/README.md#process) for more details.
118
-
2. Model: All model files can be found [here: scripts/network/models](../scripts/network/models). You can view deflow and fastflow3d to know how to implement a new model.
119
-
3. Loss: All loss files can be found [here: scripts/network/loss_func.py](../scripts/network/loss_func.py). There are three loss functions already inside the file, you can add a new one following the same pattern.
120
-
4. Training: Once you have implemented the model, you can add the model to the config file [here: conf/model](../conf/model) and train the model using the command `python 1_train.py model=your_model_name`. One more note here may: if your res_dict from model output is different, you may need add one pattern in `def training_step` and `def validation_step`.
114
+
2. Model: All model files can be found [here: src/models](../src/models). You can view deflow and fastflow3d to know how to implement a new model. Don't forget to add to the `__init__.py`[file to import class](../src/models/__init__.py).
115
+
3. Loss: All loss files can be found [here: src/lossfuncs.py](../src/lossfuncs.py). There are three loss functions already inside the file, you can add a new one following the same pattern.
116
+
4. Training: Once you have implemented the model, you can add the model to the config file [here: conf/model](../conf/model) and train the model using the command `python train.py model=your_model_name`. One more note here may: if your res_dict from model output is different, you may need add one pattern in `def training_step` and `def validation_step`.
121
117
122
118
All others like eval and vis will be changed according to the model you implemented as you follow the above steps.
0 commit comments