forked from facebookresearch/habitat-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HITL - Refactor RearrangeV2 configs. (facebookresearch#2047)
* Refactor rearrange_v2 configs. * Move out server config from top-level configs. * Add comments and remove unused configs. * Change data path to a placeholder.
- Loading branch information
Showing
14 changed files
with
97 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This config is derived from habitat-lab/habitat/config/benchmark/multi_agent/hssd_spot_human.yaml | ||
# @package _global_ | ||
|
||
defaults: | ||
- _self_ | ||
|
||
habitat: | ||
dataset: | ||
type: "CollaborationDataset-v0" | ||
data_path: "placeholder.json.gz" | ||
scenes_dir: "data/fpss" | ||
metadata: | ||
metadata_folder: "data/fpss/metadata" | ||
obj_metadata: object_categories_filtered.csv | ||
staticobj_metadata: fpmodels-with-decomposed.csv | ||
simulator: | ||
additional_object_paths: | ||
- "data/objects/ycb/configs/" | ||
- "data/objects_ovmm/train_val/ai2thorhab/configs/objects/" | ||
- "data/objects_ovmm/train_val/amazon_berkeley/configs/" | ||
- "data/objects_ovmm/train_val/google_scanned/configs/" | ||
- "data/objects_ovmm/train_val/hssd/configs/objects/" | ||
environment: | ||
max_episode_steps: 0 | ||
# Ensure that the episode iterator can be controlled by specifying episode IDs. | ||
iterator_options: | ||
max_scene_repeat_steps: -1 | ||
max_scene_repeat_episodes: -1 | ||
shuffle: False | ||
group_by_scene: False |
24 changes: 0 additions & 24 deletions
24
examples/hitl/rearrange_v2/config/disable_spot_pick_and_move_backward.yaml
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
examples/hitl/rearrange_v2/config/experiment/gui_controlled_humanoid_and_spot.yaml
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
examples/hitl/rearrange_v2/config/experiment/gui_controlled_spot_only.yaml
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
examples/hitl/rearrange_v2/config/experiment/habitat_llm_base.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# @package _global_ | ||
|
||
defaults: | ||
- /agent/@evaluation.agents.agent_0.config: oracle_rearrange_object_states_agent | ||
|
||
habitat_llm: | ||
enable: False | ||
|
||
evaluation: | ||
do_print: True | ||
save_video: False | ||
log_data: False | ||
agents: | ||
agent_0: | ||
uid: 0 |
18 changes: 18 additions & 0 deletions
18
examples/hitl/rearrange_v2/config/experiment/habitat_llm_multi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# @package _global_ | ||
|
||
defaults: | ||
- /agent/@evaluation.agents.agent_0.config: oracle_rearrange_object_states_agent | ||
- /agent/@evaluation.agents.agent_1.config: oracle_rearrange_object_states_agent | ||
|
||
habitat_llm: | ||
enable: False | ||
|
||
evaluation: | ||
do_print: True | ||
save_video: False | ||
log_data: False | ||
agents: | ||
agent_0: | ||
uid: 0 | ||
agent_1: | ||
uid: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# @package _global_ | ||
|
||
# Top-level configuration for running a headless HITL server in multi-user mode. | ||
|
||
defaults: | ||
- lang_rearrange_spot_humanoid.yaml | ||
- server.yaml | ||
- _self_ | ||
|
||
habitat_hitl: | ||
networking: | ||
max_client_count: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @package _global_ | ||
|
||
# Top-level configuration for running a headless HITL server in single-user mode. | ||
|
||
defaults: | ||
- lang_rearrange_humanoid_only.yaml | ||
- server.yaml | ||
- _self_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ defaults: | |
|
||
- /habitat/task/[email protected]_0_base_velocity: base_velocity | ||
- /habitat/task/[email protected]_0_rearrange_stop: rearrange_stop | ||
- /habitat/task/[email protected]_0_humanoidjoint_action: humanoidjoint_action | ||
|
||
- /habitat/task/measurements: | ||
- num_steps | ||
|
@@ -38,7 +39,7 @@ habitat: | |
slack_reward: -0.0005 | ||
end_on_success: True | ||
constraint_violation_ends_episode: False | ||
constraint_violation_drops_object: True | ||
constraint_violation_drops_object: False | ||
task_spec_base_path: benchmark/multi_agent/ | ||
task_spec: pddl/multi_agent_tidy_house | ||
pddl_domain_def: fp | ||
|
@@ -53,17 +54,9 @@ habitat: | |
- is_holding | ||
- ee_pos | ||
- localization_sensor | ||
environment: | ||
max_episode_steps: 750 | ||
simulator: | ||
type: RearrangeSim-v0 | ||
type: CollaborationSim-v0 | ||
seed: 100 | ||
additional_object_paths: | ||
- "data/objects/ycb/configs/" | ||
- "data/objects_ovmm/train_val/ai2thorhab/configs/objects/" | ||
- "data/objects_ovmm/train_val/amazon_berkeley/configs/" | ||
- "data/objects_ovmm/train_val/google_scanned/configs/" | ||
- "data/objects_ovmm/train_val/hssd/configs/objects/" | ||
concur_render: True | ||
auto_sleep: True | ||
agents_order: | ||
|
@@ -76,11 +69,3 @@ habitat: | |
habitat_sim_v0: | ||
allow_sliding: True | ||
enable_physics: True | ||
dataset: | ||
type: "CollaborationDataset-v0" | ||
data_path: data/datasets/hssd/llm_rearrange/v2/60scenes_dataset_776eps_with_eval.json.gz | ||
|
||
rearrange_v2: | ||
data_collection: | ||
s3_path: "Placeholder/" | ||
output_file_name: "session" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,14 @@ | |
|
||
defaults: | ||
- language_rearrange | ||
|
||
- /habitat/simulator/[email protected]_1: spot | ||
- /habitat/simulator/[email protected]_1: rgbd_head_rgbd_arm_agent | ||
- /habitat/task/[email protected]_1_arm_action: arm_action | ||
- /habitat/task/[email protected]_1_base_velocity: base_velocity | ||
- /habitat/task/[email protected]_1_rearrange_stop: rearrange_stop | ||
- /habitat/task/[email protected]_1_humanoidjoint_action: humanoidjoint_action | ||
|
||
- _self_ | ||
|
||
habitat: | ||
|
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...v2/config/experiment/headless_server.yaml → ...ples/hitl/rearrange_v2/config/server.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters