aclegg3 commited on
Commit
c6b323f
1 Parent(s): e5d7cab

Upload episode datasets and generator config + README changes to document.

Browse files
README.md CHANGED
@@ -1,3 +1,53 @@
1
  ---
2
  license: cc-by-nc-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
  ---
4
+
5
+ # Habitat v0.3.x Benchmark Dataset
6
+
7
+ Assets, configs, and episodes for reproduceable benchmarking on Habitat v0.3.x.
8
+
9
+ ## Setup
10
+
11
+ Clone this repo and symblink as `data/hab3_bench_assets` in habitat-lab directory.
12
+ Download the [Habitat compatable YCB SceneDataset](https://huggingface.co/datasets/ai-habitat/ycb) and create a symbolic link in `data/objects/ycb` or use the habitat-sim datasets_download script ([README](https://github.com/facebookresearch/habitat-sim/blob/main/DATASETS.md#ycb-benchmarks---object-and-model-set)).
13
+
14
+ ## Contents:
15
+
16
+ - Scene Dataset: `hab3-hssd/` - the necessary configs and assets to load a subset of HSSD dataset into habitat-lab and utilize it for Hab3 rearrangement tasks.
17
+
18
+ - Episode Datasets: `episode_datasets` - a set of serialized RearrangeDataset files generated for the benchmark SceneDataset. See "Generating New Episodes" below for details.
19
+
20
+ - `hab3_bench_ep_gen_config.yaml` - config file for generating new RearrangeDataset files.
21
+
22
+ ## Generating New Episodes:
23
+
24
+ The provided config `hab3_bench_ep_gen_config.yaml` is available for generating new hab3 benchmarking episodes. It defines the scene, objects, and generator configs (e.g. number of clutter objects).
25
+
26
+ The generator command should be run on a Habitat 3.0 compatable branch (e.g. SIRo) with the included assets from `fpss/fphab` commit `cd1549303d759abacbb377a8dd52c5f7af0d0e5a` as follows:
27
+
28
+ ```
29
+ python -u habitat-lab/habitat/datasets/rearrange/run_episode_generator.py --config data/hab3_bench_assets/hab3_bench_ep_gen_config.yaml --run --verbose --num-episodes 10 --seed 0 --out data/hab3_bench_assets/episode_datasets/large_large.json.gz
30
+ ```
31
+
32
+ Naming of the episode file `<scene_complexity>_<object_complexity>.json.gz` depends on the following parameters:
33
+
34
+
35
+ ### Scene Complexity:
36
+ Currently we are testing on 3 differently sized scenes:
37
+ - `small`: 103997919_171031233 (area 35.92) - 1 bed, 1 bath
38
+ - `medium`: 108736635_177263256 (area 55.49) - 3 bed, 2 bath
39
+ - `large`: 102816009 (area 172.43) 4 bed, 4 bath + den & office
40
+
41
+ One of these scene sets must be selected in the config before generation.
42
+
43
+ ### Object Complexity:
44
+ Currently we are testing 3 clutter object size complexities:
45
+ - `small`: 2 objects
46
+ - `medium`: 5 objects
47
+ - `large`: 10 objects
48
+
49
+ One of these sampler params must be selected in the config before generation.
50
+
51
+
52
+
53
+
episode_datasets/large_large.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0f7b8c122a4159499e3ed9c9be87b484c5e7e640ac043c3efad9acf1edad8d7
3
+ size 8433
episode_datasets/large_medium.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc80f034e5ec2bcab0ab44c901c0c84fc2e6ee3935b46bd649f5d890c3189f98
3
+ size 5302
episode_datasets/large_small.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ee677ea9bb1e363c2fb2cd72ba353778893e5f6423930fe3eaa9b420e08db6a
3
+ size 3316
episode_datasets/medium_large.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:382cf01090f3f3fff4d7b3c8e6ab437b84e7560ed25852feed7163779994af70
3
+ size 7787
episode_datasets/medium_medium.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19019921ef1459c37f65b09dcfc55edf515a0365f4debb5ceabbdcc3984f4937
3
+ size 4904
episode_datasets/medium_small.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0313b98c57918d884c79ba7302ce4ebc1b80aa4be1e58f7b9b4b2a4fb0e74a62
3
+ size 3126
episode_datasets/small_large.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bec1d9c778765e54684789951f5c2f627bf7d35a4ac985eed47f60fee8796e8c
3
+ size 7284
episode_datasets/small_medium.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7464d0c11cec1a1118a3b4e23ed503ede8652c329770bc6534747d3d47c06d31
3
+ size 4499
episode_datasets/small_small.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39f0bf5075862e7eb285513d4aa42fed5fbbc5f6c2ce2b8a3c5c4d6ae0fe11d8
3
+ size 2768
hab3_bench_ep_gen_config.yaml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_path: "data/hab3_bench_assets/hab3-hssd/hab3-hssd.scene_dataset_config.json"
3
+ additional_object_paths:
4
+ - data/objects/ycb/configs/
5
+ scene_sets:
6
+ - name: "small"
7
+ included_substrings:
8
+ - "103997919_171031233"
9
+ excluded_substrings:
10
+ - "NONE"
11
+ - "orig"
12
+ - name: "medium"
13
+ included_substrings:
14
+ - "108736635_177263256"
15
+ excluded_substrings:
16
+ - "NONE"
17
+ - "orig"
18
+ - name: "large"
19
+ included_substrings:
20
+ - "102816009"
21
+ excluded_substrings:
22
+ - "NONE"
23
+ - "orig"
24
+
25
+ object_sets:
26
+ - name: "ycb_hab2"
27
+ included_substrings:
28
+ - "002_master_chef_can"
29
+ - "003_cracker_box"
30
+ - "004_sugar_box"
31
+ - "005_tomato_soup_can"
32
+ - "007_tuna_fish_can"
33
+ - "008_pudding_box"
34
+ - "009_gelatin_box"
35
+ - "010_potted_meat_can"
36
+ - "024_bowl"
37
+ excluded_substrings: []
38
+ receptacle_sets:
39
+ - name: "all"
40
+ included_object_substrings:
41
+ - ""
42
+ excluded_object_substrings: []
43
+ included_receptacle_substrings:
44
+ - ""
45
+ excluded_receptacle_substrings: []
46
+
47
+ scene_sampler:
48
+ type: subset
49
+ params:
50
+ scene_sets:
51
+ #- small
52
+ #- medium
53
+ - large
54
+
55
+ object_samplers:
56
+ - name: any
57
+ type: uniform
58
+ params:
59
+ object_sets:
60
+ - ycb_hab2
61
+ receptacle_sets:
62
+ - all
63
+ #choose number of objects
64
+ num_samples:
65
+ #small obj
66
+ #- 2
67
+ #- 2
68
+ #med obj
69
+ #- 5
70
+ #- 5
71
+ #large obj
72
+ - 10
73
+ - 10
74
+ orientation_sampling: up
75
+ nav_to_min_distance: 1.5
76
+ constrain_to_largest_nav_island: True
77
+
78
+ object_target_samplers:
79
+ - name: any_targets
80
+ type: uniform
81
+ params:
82
+ object_samplers:
83
+ - any
84
+ receptacle_sets:
85
+ - all
86
+ num_samples:
87
+ - 2
88
+ - 2
89
+ orientation_sampling: up
90
+ nav_to_min_distance: 1.5
91
+ constrain_to_largest_nav_island: True
92
+
93
+ correct_unstable_results: True
94
+
95
+ regenerate_new_mesh: True
96
+ agent_radius: 0.25
97
+ agent_height: 1.41
98
+ agent_max_climb: 0.01
99
+
100
+ check_navigable: True
101
+ navmesh_offset: [[0, 0], [0, 0.15], [0, -0.15]]
102
+ max_collision_rate_for_navigable: 0.3
103
+ angle_threshold: 0.05
104
+ angular_velocity: 1.0
105
+ distance_threshold: 0.25
106
+ linear_velocity: 1.0
107
+
108
+ gpu_device_id: 0