Add training config
Browse files- config.json +79 -0
config.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"vla_name": "VITRA_Paligemma",
|
| 3 |
+
"task_name": "opentouch_keypoint_from_step140000_large",
|
| 4 |
+
"model": "vitra_paligemma2",
|
| 5 |
+
"fwd_pred_next_n": 16,
|
| 6 |
+
"seed": 42,
|
| 7 |
+
"batch_size": 1,
|
| 8 |
+
"output_root": "/home/chonghej/scratch/chonghej/VLA-HAND/runs/opentouch_step140000_adapt_touch_editor/adapt_checkpoints",
|
| 9 |
+
"log_root": "/home/chonghej/scratch/chonghej/VLA-HAND/runs/opentouch_step140000_adapt_touch_editor/adapt_logs",
|
| 10 |
+
"cache_root": "runs/opentouch_keypoint_from_step140000_adapt/cache/vitra_paligemma2",
|
| 11 |
+
"model_load_path": null,
|
| 12 |
+
"pretrain_path": "runs/gigahands_real_all_cam0_keypoints_mano_vitra3b_linked_train/checkpoints/gigahands_real_all_cam0_keypoints_mano_vitra3b_linked_stage1_TB2_B2_bf16True/checkpoints/epoch=0-step=140000.ckpt",
|
| 13 |
+
"resume": false,
|
| 14 |
+
"wandb_project": "vitra-opentouch-keypoint-adapt",
|
| 15 |
+
"wandb_entity": "",
|
| 16 |
+
"save_steps": 5000,
|
| 17 |
+
"epoch_save_interval": 100000,
|
| 18 |
+
"total_batch_size": 4,
|
| 19 |
+
"use_bf16": true,
|
| 20 |
+
"use_fov": true,
|
| 21 |
+
"untied_cognition_token": true,
|
| 22 |
+
"use_state": "DiT",
|
| 23 |
+
"loss_type": "human",
|
| 24 |
+
"train_setup": {
|
| 25 |
+
"freeze_option": "freeze_vision_encoder"
|
| 26 |
+
},
|
| 27 |
+
"state_encoder": {
|
| 28 |
+
"state_dim": 212
|
| 29 |
+
},
|
| 30 |
+
"action_model": {
|
| 31 |
+
"model_type": "DiT-B",
|
| 32 |
+
"token_size": 2304,
|
| 33 |
+
"action_dim": 192,
|
| 34 |
+
"hidden_size": 1024
|
| 35 |
+
},
|
| 36 |
+
"vlm": {
|
| 37 |
+
"type": "PaliGemmaForConditionalGeneration",
|
| 38 |
+
"name": "paligemma",
|
| 39 |
+
"pretrained_model_name_or_path": "google/paligemma2-3b-mix-224"
|
| 40 |
+
},
|
| 41 |
+
"trainer": {
|
| 42 |
+
"sharding_strategy": "shard-grad-op",
|
| 43 |
+
"strategy": "fsdp_paligemma_with_checkpointing",
|
| 44 |
+
"lr_scheduler_type": "backbone-freeze-warmup",
|
| 45 |
+
"gradient_clip_val": 1.0,
|
| 46 |
+
"learning_rate": 1e-05,
|
| 47 |
+
"weight_decay": 0.1,
|
| 48 |
+
"max_epochs": 100000,
|
| 49 |
+
"max_steps": 10000,
|
| 50 |
+
"reduce_in_full_precision": true,
|
| 51 |
+
"enable_mixed_precision_training": false,
|
| 52 |
+
"enable_gradient_checkpointing": true,
|
| 53 |
+
"action_model_learning_rate": 0.0001,
|
| 54 |
+
"llm_freeze_step": 5000,
|
| 55 |
+
"warmup_ratio": null
|
| 56 |
+
},
|
| 57 |
+
"train_dataset": {
|
| 58 |
+
"data_root_dir": "datasets/vitra_opentouch_keypoint_full_text_aligned",
|
| 59 |
+
"augmentation": false,
|
| 60 |
+
"set_none_ratio": 0.0,
|
| 61 |
+
"data_mix": "opentouch_keypoint_train",
|
| 62 |
+
"num_workers": 2,
|
| 63 |
+
"prefetch_factor": null,
|
| 64 |
+
"flip_augmentation": 1.0,
|
| 65 |
+
"action_type": "keypoints",
|
| 66 |
+
"use_rel": false,
|
| 67 |
+
"clip_len": null,
|
| 68 |
+
"normalization": true,
|
| 69 |
+
"state_mask_prob": 0.0,
|
| 70 |
+
"statistics_dataset_name": "opentouch_keypoint_train"
|
| 71 |
+
},
|
| 72 |
+
"repeated_diffusion_steps": 8,
|
| 73 |
+
"config": "/home/chonghej/scratch/chonghej/VLA-HAND/vitra/configs/human_pretrain_opentouch_keypoint_from_step140000.json",
|
| 74 |
+
"data_mix": null,
|
| 75 |
+
"debug": false,
|
| 76 |
+
"num_workers": 2,
|
| 77 |
+
"prefetch_factor": null,
|
| 78 |
+
"no_save_checkpoint": false
|
| 79 |
+
}
|