|
| 1 | +# Experiments to test predicate invention with VLMs |
| 2 | +--- |
| 3 | +APPROACHES: |
| 4 | + ours: |
| 5 | + NAME: "grammar_search_invention" |
| 6 | + FLAGS: |
| 7 | + grammar_search_vlm_atom_proposal_prompt_type: options_labels_whole_traj_diverse_coffee |
| 8 | + offline_data_method: geo_and_demo_with_vlm_imgs |
| 9 | + grammar_search_invent_geo_predicates_only: False |
| 10 | + # ours-vlm-subselection: |
| 11 | + # NAME: "grammar_search_invention" |
| 12 | + # FLAGS: |
| 13 | + # grammar_search_vlm_atom_proposal_prompt_type: options_labels_whole_traj_specific |
| 14 | + # offline_data_method: geo_and_demo_with_vlm_imgs |
| 15 | + # grammar_search_invent_geo_predicates_only: True |
| 16 | + # ours-no-subselection: |
| 17 | + # NAME: "grammar_search_invention" |
| 18 | + # FLAGS: |
| 19 | + # grammar_search_vlm_atom_proposal_prompt_type: options_labels_whole_traj_diverse |
| 20 | + # offline_data_method: geo_and_demo_with_vlm_imgs |
| 21 | + # grammar_search_pred_selection_approach: no_select |
| 22 | + # grammar_search_invent_geo_predicates_only: False |
| 23 | + # ours-no-invent: |
| 24 | + # NAME: "nsrt_learning" |
| 25 | + # FLAGS: {} |
| 26 | + # ours-no-visual: |
| 27 | + # NAME: "grammar_search_invention" |
| 28 | + # FLAGS: |
| 29 | + # offline_data_method: demo |
| 30 | + # ours-no-geo: |
| 31 | + # NAME: "grammar_search_invention" |
| 32 | + # FLAGS: |
| 33 | + # grammar_search_vlm_atom_proposal_prompt_type: demo_with_vlm_imgs |
| 34 | + # grammar_search_invent_geo_predicates_only: False |
| 35 | + # interpret: |
| 36 | + # NAME: "grammar_search_invention" |
| 37 | + # FLAGS: |
| 38 | + # offline_data_method: demo_with_vlm_imgs |
| 39 | + # vlm_predicate_vision_api_generate_ground_atoms: True |
| 40 | + # vila-with-fewshot: |
| 41 | + # NAME: "vlm_open_loop" |
| 42 | + # FLAGS: |
| 43 | + # vlm_open_loop_use_training_demos: True |
| 44 | + # vila-pure: |
| 45 | + # NAME: "vlm_open_loop" |
| 46 | + # FLAGS: |
| 47 | + # vlm_open_loop_use_training_demos: False |
| 48 | + |
| 49 | +ENVS: |
| 50 | + # burger_no_move_more_stacks: |
| 51 | + # NAME: "burger_no_move" |
| 52 | + # FLAGS: |
| 53 | + # burger_no_move_task_type: "more_stacks" |
| 54 | + # bilevel_plan_without_sim: True |
| 55 | + # segmenter: option_changes |
| 56 | + # grammar_search_vlm_atom_label_prompt_type: img_option_diffs_label_history_burger |
| 57 | + # grammar_search_task_planning_timeout: 10.0 |
| 58 | + # sesame_max_skeletons_optimized: 200 |
| 59 | + # disable_harmlessness_check: True |
| 60 | + # sesame_task_planner: fdopt |
| 61 | + # excluded_predicates: all |
| 62 | + # option_model_terminate_on_repeat: False |
| 63 | + # grammar_search_vlm_atom_proposal_use_debug: False |
| 64 | + # allow_exclude_goal_predicates: True |
| 65 | + # grammar_search_prune_redundant_preds: True |
| 66 | + # grammar_search_predicate_cost_upper_bound: 13 |
| 67 | + # allow_state_allclose_comparison_despite_simulator_state: True |
| 68 | + # grammar_search_max_predicates: 100 |
| 69 | + # grammar_search_parallelize_vlm_labeling: True |
| 70 | + # grammar_search_use_handcoded_debug_grammar: False |
| 71 | + # grammar_search_select_all_debug: False |
| 72 | + # cluster_and_intersect_soft_intersection_for_preconditions: True |
| 73 | + # vlm_include_cropped_images: True |
| 74 | + # timeout: 80 |
| 75 | + # grammar_search_grammar_includes_givens: False |
| 76 | + # cluster_and_intersect_prune_low_data_pnads: True |
| 77 | + # cluster_and_intersect_min_datastore_fraction: 0.05 |
| 78 | + # num_train_tasks: 12 # 8 for VILA |
| 79 | + # precondition_soft_intersection_threshold_percent: 0.8 |
| 80 | + # grammar_search_early_termination_heuristic_thresh: 2000 |
| 81 | + # vlm_double_check_output: True |
| 82 | + # burger_no_move_fatter_burger: |
| 83 | + # NAME: "burger_no_move" |
| 84 | + # FLAGS: |
| 85 | + # burger_no_move_task_type: "fatter_burger" |
| 86 | + # bilevel_plan_without_sim: True |
| 87 | + # segmenter: option_changes |
| 88 | + # grammar_search_vlm_atom_label_prompt_type: img_option_diffs_label_history_burger |
| 89 | + # grammar_search_task_planning_timeout: 10.0 |
| 90 | + # sesame_max_skeletons_optimized: 200 |
| 91 | + # disable_harmlessness_check: True |
| 92 | + # sesame_task_planner: fdopt |
| 93 | + # excluded_predicates: all |
| 94 | + # option_model_terminate_on_repeat: False |
| 95 | + # grammar_search_vlm_atom_proposal_use_debug: False |
| 96 | + # allow_exclude_goal_predicates: True |
| 97 | + # grammar_search_prune_redundant_preds: True |
| 98 | + # grammar_search_predicate_cost_upper_bound: 13 |
| 99 | + # allow_state_allclose_comparison_despite_simulator_state: True |
| 100 | + # grammar_search_max_predicates: 100 |
| 101 | + # grammar_search_parallelize_vlm_labeling: True |
| 102 | + # grammar_search_use_handcoded_debug_grammar: False |
| 103 | + # grammar_search_select_all_debug: False |
| 104 | + # cluster_and_intersect_soft_intersection_for_preconditions: True |
| 105 | + # vlm_include_cropped_images: True |
| 106 | + # timeout: 80 |
| 107 | + # grammar_search_grammar_includes_givens: False |
| 108 | + # cluster_and_intersect_prune_low_data_pnads: True |
| 109 | + # cluster_and_intersect_min_datastore_fraction: 0.05 |
| 110 | + # num_train_tasks: 12 # 9 for VILA |
| 111 | + # precondition_soft_intersection_threshold_percent: 0.8 |
| 112 | + # grammar_search_early_termination_heuristic_thresh: 2000 |
| 113 | + # vlm_double_check_output: True |
| 114 | + # burger_no_move_combo_burger: |
| 115 | + # NAME: "burger_no_move" |
| 116 | + # FLAGS: |
| 117 | + # burger_no_move_task_type: "combo_burger" |
| 118 | + # bilevel_plan_without_sim: True |
| 119 | + # segmenter: option_changes |
| 120 | + # grammar_search_vlm_atom_label_prompt_type: img_option_diffs_label_history_burger |
| 121 | + # grammar_search_task_planning_timeout: 10.0 |
| 122 | + # sesame_max_skeletons_optimized: 200 |
| 123 | + # disable_harmlessness_check: True |
| 124 | + # sesame_task_planner: fdopt |
| 125 | + # excluded_predicates: all |
| 126 | + # option_model_terminate_on_repeat: False |
| 127 | + # grammar_search_vlm_atom_proposal_use_debug: False |
| 128 | + # allow_exclude_goal_predicates: True |
| 129 | + # grammar_search_prune_redundant_preds: True |
| 130 | + # grammar_search_predicate_cost_upper_bound: 13 |
| 131 | + # allow_state_allclose_comparison_despite_simulator_state: True |
| 132 | + # grammar_search_max_predicates: 100 |
| 133 | + # grammar_search_parallelize_vlm_labeling: True |
| 134 | + # grammar_search_use_handcoded_debug_grammar: False |
| 135 | + # grammar_search_select_all_debug: False |
| 136 | + # cluster_and_intersect_soft_intersection_for_preconditions: True |
| 137 | + # vlm_include_cropped_images: True |
| 138 | + # timeout: 80 |
| 139 | + # grammar_search_grammar_includes_givens: False |
| 140 | + # cluster_and_intersect_prune_low_data_pnads: True |
| 141 | + # cluster_and_intersect_min_datastore_fraction: 0.05 |
| 142 | + # num_train_tasks: 12 # 8 for VILA |
| 143 | + # precondition_soft_intersection_threshold_percent: 0.8 |
| 144 | + # grammar_search_early_termination_heuristic_thresh: 2000 |
| 145 | + # vlm_double_check_output: True |
| 146 | + coffee: |
| 147 | + NAME: "pybullet_coffee" |
| 148 | + FLAGS: |
| 149 | + pretrained_model_prompt_cache_dir: "pretrained_model_cache/coffee" |
| 150 | + bilevel_plan_without_sim: True |
| 151 | + segmenter: option_changes |
| 152 | + grammar_search_vlm_atom_label_prompt_type: img_option_diffs_label_history |
| 153 | + grammar_search_task_planning_timeout: 10.0 |
| 154 | + sesame_max_skeletons_optimized: 200 |
| 155 | + disable_harmlessness_check: True |
| 156 | + excluded_predicates: all |
| 157 | + option_model_terminate_on_repeat: False |
| 158 | + grammar_search_vlm_atom_proposal_use_debug: False |
| 159 | + allow_exclude_goal_predicates: True |
| 160 | + grammar_search_prune_redundant_preds: True |
| 161 | + grammar_search_predicate_cost_upper_bound: 5 |
| 162 | + allow_state_allclose_comparison_despite_simulator_state: True |
| 163 | + grammar_search_max_predicates: 100 |
| 164 | + grammar_search_parallelize_vlm_labeling: True |
| 165 | + grammar_search_use_handcoded_debug_grammar: False |
| 166 | + grammar_search_select_all_debug: False |
| 167 | + cluster_and_intersect_soft_intersection_for_preconditions: True |
| 168 | + precondition_soft_intersection_threshold_percent: 0.8 |
| 169 | + vlm_include_cropped_images: False |
| 170 | + timeout: 80 |
| 171 | + grammar_search_grammar_includes_givens: False |
| 172 | + cluster_and_intersect_prune_low_data_pnads: True |
| 173 | + cluster_and_intersect_min_datastore_fraction: 0.05 |
| 174 | + num_train_tasks: 5 |
| 175 | + grammar_search_early_termination_heuristic_thresh: 20 |
| 176 | + vlm_double_check_output: True |
| 177 | + coffee_rotated_jug_ratio: 0.5 |
| 178 | + coffee_jug_pickable_pred: True |
| 179 | + pybullet_control_mode: reset |
| 180 | + coffee_twist_sampler: False |
| 181 | + pybullet_camera_height: 900 |
| 182 | + pybullet_camera_width: 900 |
| 183 | + rgb_observation: True |
| 184 | + render_init_state: True |
| 185 | + pybullet_coffee_update_camera: True |
| 186 | + excluded_predicates: JugFilled,JugInMachine,MachineOn,Twisting |
| 187 | + grammar_search_vlm_atom_proposal_use_debug: False |
| 188 | + llm_openai_max_response_tokens: 1000 |
| 189 | + coffee_combined_move_and_twist_policy: True |
| 190 | + # burger_no_move_combo_burger: |
| 191 | + # NAME: "burger_no_move" |
| 192 | + # FLAGS: |
| 193 | + # burger_no_move_task_type: "combo_burger" |
| 194 | + # bilevel_plan_without_sim: True |
| 195 | + # segmenter: option_changes |
| 196 | + # grammar_search_vlm_atom_label_prompt_type: img_option_diffs_label_history_burger |
| 197 | + # grammar_search_task_planning_timeout: 10.0 |
| 198 | + # sesame_max_skeletons_optimized: 200 |
| 199 | + # disable_harmlessness_check: True |
| 200 | + # sesame_task_planner: fdopt |
| 201 | + # excluded_predicates: all |
| 202 | + # option_model_terminate_on_repeat: False |
| 203 | + # grammar_search_vlm_atom_proposal_use_debug: False |
| 204 | + # allow_exclude_goal_predicates: True |
| 205 | + # grammar_search_prune_redundant_preds: True |
| 206 | + # grammar_search_predicate_cost_upper_bound: 13 |
| 207 | + # allow_state_allclose_comparison_despite_simulator_state: True |
| 208 | + # grammar_search_max_predicates: 100 |
| 209 | + # grammar_search_parallelize_vlm_labeling: True |
| 210 | + # grammar_search_use_handcoded_debug_grammar: False |
| 211 | + # grammar_search_select_all_debug: False |
| 212 | + # cluster_and_intersect_soft_intersection_for_preconditions: True |
| 213 | + # vlm_include_cropped_images: True |
| 214 | + # timeout: 80 |
| 215 | + # grammar_search_grammar_includes_givens: False |
| 216 | + # cluster_and_intersect_prune_low_data_pnads: True |
| 217 | + # cluster_and_intersect_min_datastore_fraction: 0.05 |
| 218 | + # num_train_tasks: 12 |
| 219 | + # precondition_soft_intersection_threshold_percent: 0.8 |
| 220 | + # grammar_search_early_termination_heuristic_thresh: 2000 |
| 221 | + # vlm_double_check_output: True |
| 222 | + # kitchen_boil_kettle: |
| 223 | + # NAME: "kitchen" |
| 224 | + # FLAGS: |
| 225 | + # perceiver: "kitchen" |
| 226 | + # kitchen_goals: "boil_kettle" |
| 227 | + # kitchen_use_perfect_samplers: True |
| 228 | + # kitchen_render_set_of_marks: True |
| 229 | + # kitchen_use_combo_move_nsrts: True |
| 230 | + # kitchen_randomize_init_state: True |
| 231 | + # bilevel_plan_without_sim: True |
| 232 | + # segmenter: option_changes |
| 233 | + # grammar_search_vlm_atom_label_prompt_type: img_option_diffs_label_history |
| 234 | + # grammar_search_task_planning_timeout: 3.0 |
| 235 | + # sesame_max_skeletons_optimized: 5 |
| 236 | + # disable_harmlessness_check: True |
| 237 | + # excluded_predicates: all |
| 238 | + # grammar_search_vlm_atom_proposal_use_debug: False |
| 239 | + # grammar_search_prune_redundant_preds: True |
| 240 | + # grammar_search_predicate_cost_upper_bound: 13 |
| 241 | + # allow_state_allclose_comparison_despite_simulator_state: True |
| 242 | + # grammar_search_max_predicates: 100 |
| 243 | + # grammar_search_parallelize_vlm_labeling: True |
| 244 | + # grammar_search_use_handcoded_debug_grammar: False |
| 245 | + # grammar_search_select_all_debug: False |
| 246 | + # cluster_and_intersect_soft_intersection_for_preconditions: True |
| 247 | + # grammar_search_grammar_includes_givens: False |
| 248 | + # cluster_and_intersect_prune_low_data_pnads: True |
| 249 | + # cluster_and_intersect_min_datastore_fraction: 0.05 |
| 250 | + # num_train_tasks: 3 |
| 251 | + # precondition_soft_intersection_threshold_percent: 0.8 |
| 252 | + # vlm_double_check_output: True |
| 253 | + # grammar_search_early_termination_heuristic_thresh: 100 |
| 254 | + |
| 255 | +ARGS: |
| 256 | + [] |
| 257 | + # - "debug" |
| 258 | +FLAGS: |
| 259 | + vlm_model_name: gpt-4o |
| 260 | + num_test_tasks: 10 |
| 261 | + save_eval_trajs: False |
| 262 | +START_SEED: 0 |
| 263 | +NUM_SEEDS: 5 |
| 264 | +... |
0 commit comments