@@ -627,37 +627,64 @@ def __post_init__(self) -> None:
627627 #
628628 TrainConfig (
629629 name = "pi0_mesa" ,
630+ model = pi0_config .Pi0Config (action_horizon = 20 , max_token_len = 24 ),
630631 data = MESADataConfig (
631- base_config = DataConfig (prompt_from_task = True ),
632+ repo_id = "albertwilcox/mesa-70-lerobot" ,
633+ base_config = DataConfig (
634+ prompt_from_task = True ,
635+ video_backend = "pyav" ,
636+ ),
632637 assets = AssetsConfig (asset_id = "mesa" ),
633638 ),
634639 batch_size = 1 ,
635- model = pi0_config .Pi0Config (action_horizon = 20 , max_token_len = 24 ),
640+ num_train_steps = 50_000 ,
641+ weight_loader = weight_loaders .CheckpointWeightLoader ("gs://openpi-assets/checkpoints/pi0_base/params" ),
636642 ),
637643 TrainConfig (
638644 name = "pi05_mesa" ,
645+ model = pi0_config .Pi0Config (pi05 = True , action_horizon = 20 , max_token_len = 60 ),
639646 data = MESADataConfig (
640- base_config = DataConfig (prompt_from_task = True ),
647+ repo_id = "albertwilcox/mesa-70-lerobot" ,
648+ base_config = DataConfig (
649+ prompt_from_task = True ,
650+ video_backend = "pyav" ,
651+ ),
641652 assets = AssetsConfig (asset_id = "mesa" ),
642653 ),
643- batch_size = 1 ,
644- model = pi0_config .Pi0Config (pi05 = True , action_horizon = 20 , max_token_len = 60 ),
654+ batch_size = 128 ,
655+ num_train_steps = 50_000 ,
656+ weight_loader = weight_loaders .CheckpointWeightLoader ("gs://openpi-assets/checkpoints/pi05_base/params" ),
645657 ),
646- # Example config for training pi0_fast on MESA-70 (lerobot video format)
647658 TrainConfig (
648659 name = "pi0_fast_mesa_70" ,
649660 model = pi0_fast .Pi0FASTConfig (action_dim = 8 , action_horizon = 20 ),
650661 data = MESADataConfig (
651- repo_id = "REPLACE_WITH_LEROBOT_VIDEO_REPO_ID_OR_PATH " ,
662+ repo_id = "albertwilcox/mesa-70-lerobot " ,
652663 base_config = DataConfig (
653664 prompt_from_task = True ,
654665 video_backend = "pyav" ,
655666 ),
656- assets = AssetsConfig (asset_id = "vla_benchmark_global " ),
667+ assets = AssetsConfig (asset_id = "mesa " ),
657668 ),
658- batch_size = 1 ,
669+ batch_size = 128 ,
670+ num_train_steps = 50_000 ,
659671 weight_loader = weight_loaders .CheckpointWeightLoader ("gs://openpi-assets/checkpoints/pi0_fast_base/params" ),
660672 ),
673+ TrainConfig (
674+ name = "pg_fm_mesa" ,
675+ model = pi0_config .Pi0Config (action_horizon = 20 , max_token_len = 24 ),
676+ data = MESADataConfig (
677+ repo_id = "albertwilcox/mesa-70-lerobot" ,
678+ base_config = DataConfig (
679+ prompt_from_task = True ,
680+ video_backend = "pyav" ,
681+ ),
682+ assets = AssetsConfig (asset_id = "mesa" ),
683+ ),
684+ batch_size = 1 ,
685+ num_train_steps = 50_000 ,
686+ weight_loader = weight_loaders .PaliGemmaWeightLoader (),
687+ ),
661688
662689
663690 #
0 commit comments