-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ObjectNav task definition, dataset, metrics, goal sensor #284
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ec6c1df
Added geodesic distance for multiple goals
mathfac 7a2a484
Added geodesic distance for multiple goals
mathfac 1727467
Added ObjectNav task definition, dataset, metrics, goal sensor
mathfac 7a0a90e
Added geodesic distance for multiple goals
mathfac df8ba3d
Refactored drawing functions, updated ObjectGoal Nav config
mathfac 8dd1945
Updated the configs
mathfac 2041054
Added dataset link, unified version of the task.
mathfac efa2cda
Merge branch 'master' into object_nav_task
mathfac 2a7bb2a
Made PointNavDataset general enough to be inherited
mathfac bcfb573
Refactored RLEnv to use measures for reward and success, made SPL dep…
mathfac 4d7d8b3
Added doc to FloatJSON encoder, added color names, removed mp3d menti…
mathfac c928734
Fixed for sensors test
mathfac 1e4563d
Switched code to heading and GPS sensors using single array wrapping.
mathfac 812df92
Added number of episodes in val split
mathfac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason for using a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that is motivated by real depth camera. |
||
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are planning to add look_up and look_down actions to the action space for the challenge? If so, we should add a max tilt angle parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, so the agent can see objects hanging on the wall or placed on the floor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, any suggestion for the max title angle then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-90..+90 degrees?