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.
Added ObjectNav task definition, dataset, metrics, goal sensor (faceb…
…ookresearch#284) Added ObjectNav task definition, dataset, metrics, goal sensor. ObjectGoal Nav Task definition: metrics, goals, sensors with documentations. ObjectGoal Nav Dataset definition and loading and link for downloading. Topdown target objects, view points, bounding boxes visualization Compatible with Benchmark API Added ObjectNav DDPPO config for a baseline Made PointNavDataset general enough to be inherited by other Dataset types Refactored RLEnv to use measures for reward and success to speed up distance calculations Added mechanism for Measures (Metrics) classes to be depend on other measure. That increased speed and calculation and decrease copy pasta. Speed improvements 2x: from 8 FPS to 15.5 FPS, compare to 40 FPS for PointGoal with same setup. made SPL dependent on DistanceToGoal added metrics calc to reset method for SPL and DistanceToGoal
- Loading branch information
Showing
32 changed files
with
928 additions
and
133 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
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,4 @@ | ||
DATASET: | ||
TYPE: ObjectNav-v1 | ||
SPLIT: train | ||
DATA_PATH: data/datasets/objectnav/mp3d/v0/{split}/{split}.json.gz |
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,47 @@ | ||
ENVIRONMENT: | ||
MAX_EPISODE_STEPS: 500 | ||
SIMULATOR: | ||
TURN_ANGLE: 30 | ||
TILT_ANGLE: 30 | ||
AGENT_0: | ||
SENSORS: ['RGB_SENSOR', 'DEPTH_SENSOR'] | ||
HEIGHT: 0.88 | ||
RADIUS: 0.2 | ||
HABITAT_SIM_V0: | ||
GPU_DEVICE_ID: 0 | ||
SEMANTIC_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
POSITION: [0, 0.88, 0] | ||
RGB_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
POSITION: [0, 0.88, 0] | ||
DEPTH_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
MIN_DEPTH: 0.5 | ||
MAX_DEPTH: 5.0 | ||
POSITION: [0, 0.88, 0] | ||
TASK: | ||
TYPE: ObjectNav-v1 | ||
SUCCESS_DISTANCE: 0.1 | ||
|
||
SENSORS: ['OBJECTGOAL_SENSOR'] | ||
GOAL_SENSOR_UUID: objectgoal | ||
|
||
MEASUREMENTS: ['DISTANCE_TO_GOAL', 'SPL'] | ||
SPL: | ||
TYPE: SPL | ||
DISTANCE_TO: VIEW_POINTS | ||
SUCCESS_DISTANCE: 0.2 | ||
|
||
DATASET: | ||
TYPE: ObjectNav-v1 | ||
SPLIT: val | ||
CONTENT_SCENES: [] | ||
DATA_PATH: "data/datasets/objectnav/mp3d/v1/{split}/{split}.json.gz" | ||
SCENES_DIR: "data/scene_datasets/" |
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,51 @@ | ||
ENVIRONMENT: | ||
MAX_EPISODE_STEPS: 500 | ||
SIMULATOR: | ||
TURN_ANGLE: 30 | ||
TILT_ANGLE: 30 | ||
ACTION_SPACE_CONFIG: "v1" | ||
AGENT_0: | ||
SENSORS: ['RGB_SENSOR', 'DEPTH_SENSOR'] | ||
HEIGHT: 0.88 | ||
RADIUS: 0.2 | ||
HABITAT_SIM_V0: | ||
GPU_DEVICE_ID: 0 | ||
SEMANTIC_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
POSITION: [0, 0.88, 0] | ||
RGB_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
POSITION: [0, 0.88, 0] | ||
DEPTH_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
MIN_DEPTH: 0.5 | ||
MAX_DEPTH: 5.0 | ||
POSITION: [0, 0.88, 0] | ||
TASK: | ||
TYPE: ObjectNav-v1 | ||
POSSIBLE_ACTIONS: ["STOP", "MOVE_FORWARD", "TURN_LEFT", "TURN_RIGHT", "LOOK_UP", "LOOK_DOWN"] | ||
SUCCESS_DISTANCE: 0.1 | ||
|
||
SENSORS: ['OBJECTGOAL_SENSOR', 'COMPASS_SENSOR', 'GPS_SENSOR'] | ||
GOAL_SENSOR_UUID: objectgoal | ||
|
||
MEASUREMENTS: ['DISTANCE_TO_GOAL', 'SPL'] | ||
SPL: | ||
TYPE: SPL | ||
DISTANCE_TO: VIEW_POINTS | ||
SUCCESS_DISTANCE: 0.2 | ||
DISTANCE_TO_GOAL: | ||
DISTANCE_TO: VIEW_POINTS | ||
|
||
DATASET: | ||
TYPE: ObjectNav-v1 | ||
SPLIT: val | ||
CONTENT_SCENES: [] | ||
DATA_PATH: "data/datasets/objectnav/mp3d/v0/{split}/{split}.json.gz" | ||
SCENES_DIR: "data/scene_datasets/" |
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
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
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,51 @@ | ||
ENVIRONMENT: | ||
MAX_EPISODE_STEPS: 500 | ||
SIMULATOR: | ||
TURN_ANGLE: 30 | ||
TILT_ANGLE: 30 | ||
ACTION_SPACE_CONFIG: "v1" | ||
AGENT_0: | ||
SENSORS: ['RGB_SENSOR', 'DEPTH_SENSOR'] | ||
HEIGHT: 0.88 | ||
RADIUS: 0.2 | ||
HABITAT_SIM_V0: | ||
GPU_DEVICE_ID: 0 | ||
SEMANTIC_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
POSITION: [0, 0.88, 0] | ||
RGB_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
POSITION: [0, 0.88, 0] | ||
DEPTH_SENSOR: | ||
WIDTH: 640 | ||
HEIGHT: 480 | ||
HFOV: 79 | ||
MIN_DEPTH: 0.5 | ||
MAX_DEPTH: 5.0 | ||
POSITION: [0, 0.88, 0] | ||
TASK: | ||
TYPE: ObjectNav-v1 | ||
POSSIBLE_ACTIONS: ["STOP", "MOVE_FORWARD", "TURN_LEFT", "TURN_RIGHT", "LOOK_UP", "LOOK_DOWN"] | ||
SUCCESS_DISTANCE: 0.1 | ||
|
||
SENSORS: ['OBJECTGOAL_SENSOR', 'COMPASS_SENSOR', 'GPS_SENSOR'] | ||
GOAL_SENSOR_UUID: objectgoal | ||
|
||
MEASUREMENTS: ['DISTANCE_TO_GOAL', 'SPL'] | ||
SPL: | ||
TYPE: SPL | ||
DISTANCE_TO: VIEW_POINTS | ||
SUCCESS_DISTANCE: 0.2 | ||
DISTANCE_TO_GOAL: | ||
DISTANCE_TO: VIEW_POINTS | ||
|
||
DATASET: | ||
TYPE: ObjectNav-v1 | ||
SPLIT: mini_val | ||
CONTENT_SCENES: [] | ||
DATA_PATH: "data/datasets/objectnav/mp3d/v0/{split}/{split}.json.gz" | ||
SCENES_DIR: "data/scene_datasets/" |
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
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
Oops, something went wrong.