Instructions to use AutowareFoundation/diffusion_planner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use AutowareFoundation/diffusion_planner with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
feat: add diffusion_planner v4.0 artifacts (from awf.ml.dev.web.auto/planning/models/diffusion_planner/v4.0)
Browse files- deploy_metadata.yaml +1 -1
- diffusion_planner.onnx +2 -2
- diffusion_planner.param.json +27 -7
deploy_metadata.yaml
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
version:
|
|
|
|
| 1 |
+
version: v4.0
|
diffusion_planner.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fd21662a655e7c262ffa465fc0d93b51d8a7fe1b56f95c6abd110f6cfa15ffd
|
| 3 |
+
size 60280355
|
diffusion_planner.param.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"future_len": 80,
|
| 3 |
"time_len": 31,
|
|
|
|
| 4 |
"agent_state_dim": 11,
|
| 5 |
"agent_num": 32,
|
| 6 |
"static_objects_state_dim": 10,
|
|
@@ -11,18 +12,18 @@
|
|
| 11 |
"route_len": 20,
|
| 12 |
"polygon_num": 10,
|
| 13 |
"polygon_len": 40,
|
| 14 |
-
"line_string_num":
|
| 15 |
"line_string_len": 20,
|
| 16 |
"use_data_augment": true,
|
| 17 |
"augment_prob": 0.5,
|
|
|
|
| 18 |
"num_workers": 4,
|
| 19 |
"pin_mem": true,
|
| 20 |
"seed": 3407,
|
| 21 |
-
"train_epochs":
|
| 22 |
-
"early_stop_tolerance": 100,
|
| 23 |
"batch_size": 1024,
|
| 24 |
"save_utd": 10,
|
| 25 |
-
"learning_rate":
|
| 26 |
"warm_up_epoch": 5,
|
| 27 |
"encoder_drop_path_rate": 0.1,
|
| 28 |
"decoder_drop_path_rate": 0.1,
|
|
@@ -39,7 +40,17 @@
|
|
| 39 |
1.0,
|
| 40 |
1.0
|
| 41 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
"alpha_planning_loss": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
"device": "cuda",
|
| 44 |
"use_ema": true,
|
| 45 |
"encoder_mixer_depth": 6,
|
|
@@ -49,9 +60,11 @@
|
|
| 49 |
"hidden_dim": 256,
|
| 50 |
"diffusion_model_type": "x_start",
|
| 51 |
"predicted_neighbor_num": 32,
|
|
|
|
| 52 |
"use_wandb": true,
|
| 53 |
"notes": "",
|
| 54 |
"ddp": true,
|
|
|
|
| 55 |
"state_normalizer": {
|
| 56 |
"mean": [
|
| 57 |
[
|
|
@@ -836,21 +849,27 @@
|
|
| 836 |
"polygons": {
|
| 837 |
"mean": [
|
| 838 |
10.0,
|
|
|
|
| 839 |
0.0
|
| 840 |
],
|
| 841 |
"std": [
|
| 842 |
20.0,
|
| 843 |
-
20.0
|
|
|
|
| 844 |
]
|
| 845 |
},
|
| 846 |
"line_strings": {
|
| 847 |
"mean": [
|
| 848 |
10.0,
|
|
|
|
|
|
|
| 849 |
0.0
|
| 850 |
],
|
| 851 |
"std": [
|
| 852 |
20.0,
|
| 853 |
-
20.0
|
|
|
|
|
|
|
| 854 |
]
|
| 855 |
},
|
| 856 |
"route_lanes_speed_limit": {
|
|
@@ -876,5 +895,6 @@
|
|
| 876 |
]
|
| 877 |
}
|
| 878 |
},
|
| 879 |
-
"major_version":
|
|
|
|
| 880 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"future_len": 80,
|
| 3 |
"time_len": 31,
|
| 4 |
+
"ego_prediction_horizon": 80,
|
| 5 |
"agent_state_dim": 11,
|
| 6 |
"agent_num": 32,
|
| 7 |
"static_objects_state_dim": 10,
|
|
|
|
| 12 |
"route_len": 20,
|
| 13 |
"polygon_num": 10,
|
| 14 |
"polygon_len": 40,
|
| 15 |
+
"line_string_num": 60,
|
| 16 |
"line_string_len": 20,
|
| 17 |
"use_data_augment": true,
|
| 18 |
"augment_prob": 0.5,
|
| 19 |
+
"normalization_file_path": "normalization.json",
|
| 20 |
"num_workers": 4,
|
| 21 |
"pin_mem": true,
|
| 22 |
"seed": 3407,
|
| 23 |
+
"train_epochs": 70,
|
|
|
|
| 24 |
"batch_size": 1024,
|
| 25 |
"save_utd": 10,
|
| 26 |
+
"learning_rate": 0.0002,
|
| 27 |
"warm_up_epoch": 5,
|
| 28 |
"encoder_drop_path_rate": 0.1,
|
| 29 |
"decoder_drop_path_rate": 0.1,
|
|
|
|
| 40 |
1.0,
|
| 41 |
1.0
|
| 42 |
],
|
| 43 |
+
"coeff_road_border_loss": 1.0,
|
| 44 |
+
"road_border_margin": 0.25,
|
| 45 |
+
"road_border_n_interp": 2,
|
| 46 |
+
"coeff_neighbor_collision_loss": 0.0,
|
| 47 |
+
"neighbor_collision_margin": 2.0,
|
| 48 |
"alpha_planning_loss": 1.0,
|
| 49 |
+
"alpha_neighbor_loss": 0.1,
|
| 50 |
+
"use_velocity_representation": false,
|
| 51 |
+
"hybrid_loss_omega": 0.1,
|
| 52 |
+
"hybrid_loss_window": 10,
|
| 53 |
+
"guidance_scale": 0.5,
|
| 54 |
"device": "cuda",
|
| 55 |
"use_ema": true,
|
| 56 |
"encoder_mixer_depth": 6,
|
|
|
|
| 60 |
"hidden_dim": 256,
|
| 61 |
"diffusion_model_type": "x_start",
|
| 62 |
"predicted_neighbor_num": 32,
|
| 63 |
+
"resume_model_path": null,
|
| 64 |
"use_wandb": true,
|
| 65 |
"notes": "",
|
| 66 |
"ddp": true,
|
| 67 |
+
"port": "22323",
|
| 68 |
"state_normalizer": {
|
| 69 |
"mean": [
|
| 70 |
[
|
|
|
|
| 849 |
"polygons": {
|
| 850 |
"mean": [
|
| 851 |
10.0,
|
| 852 |
+
0.0,
|
| 853 |
0.0
|
| 854 |
],
|
| 855 |
"std": [
|
| 856 |
20.0,
|
| 857 |
+
20.0,
|
| 858 |
+
1.0
|
| 859 |
]
|
| 860 |
},
|
| 861 |
"line_strings": {
|
| 862 |
"mean": [
|
| 863 |
10.0,
|
| 864 |
+
0.0,
|
| 865 |
+
0.0,
|
| 866 |
0.0
|
| 867 |
],
|
| 868 |
"std": [
|
| 869 |
20.0,
|
| 870 |
+
20.0,
|
| 871 |
+
1.0,
|
| 872 |
+
1.0
|
| 873 |
]
|
| 874 |
},
|
| 875 |
"route_lanes_speed_limit": {
|
|
|
|
| 895 |
]
|
| 896 |
}
|
| 897 |
},
|
| 898 |
+
"major_version": 4,
|
| 899 |
+
"exp_name": "20260303-180133_baseline_epoch0060_sft0070"
|
| 900 |
}
|