-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPU Simulated Scenes, New more organized asset locations (#217)
* Fix: some scene manip env issues * Better fetch cameras * Fix: disable collisions only on fetch wheels * Fix: fetch grapsing retval * Progress: updates to scene-related classes/envs * Fix: ai2thor scene builder set poses in initialize() * Fix: ai2thor fetch scene builder ground collisions * Fix: ai2 sb don't reconfigure by default * Fix: sb load_actors instead of load_agents * Trivial: add fetch resting qpos as attr * Fix: pick_object scene pose setting * Fix: renderer follows camera * Fix: options is None * Fix: fetch body delta pos controller * Fix: record wrapper options=None by default * Progress: support for loading navigable positions * Progress: update base scene builder w/ DexM3 version * Trivial: add arm camera, more "working" coacd objects * minor ai2 sb changes * Trivial: port over everything needed for scene manip testing * bigger place reward * Fix: keep x/y/zrot qvel in obs * Try tune reward * scale place reward more * Try lessen place rew * work * work * add bug fix * Create scene_gpu.py * Update sequential_task.py * temp code * make more objects static * base empty scene manipulation env * work * work * tests * work * more work * modify benchmark code to support cpu and gpu sim tests * add lighting? * work * articulations * work * Update scene_builder.py * new dataset location * fix for new dataset paths for some tasks, remove old tasks * remove scene tasks as they are not done * work * work * fixes * change some defaults --------- Co-authored-by: arth-shukla <[email protected]>
- Loading branch information
1 parent
69c95ea
commit 1defbae
Showing
31 changed files
with
915 additions
and
323 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# from .ms1 import * | ||
from .ms2 import * | ||
from .scenes.pick_object import * | ||
from .scenes import * | ||
from .tasks import * |
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,28 @@ | ||
from mani_skill2.utils.registration import register_env | ||
from mani_skill2.utils.scene_builder.ai2thor.variants import ( | ||
ArchitecTHORSceneBuilder, | ||
ProcTHORSceneBuilder, | ||
RoboTHORSceneBuilder, | ||
iTHORSceneBuilder, | ||
) | ||
from mani_skill2.utils.scene_builder.replicacad.scene_builder import ( | ||
ReplicaCADSceneBuilder, | ||
) | ||
|
||
from .base_env import SceneManipulationEnv | ||
|
||
scene_builders = { | ||
"ReplicaCAD": ReplicaCADSceneBuilder, | ||
"ArchitecTHOR": ArchitecTHORSceneBuilder, | ||
"ProcTHOR": ProcTHORSceneBuilder, | ||
"RoboTHOR": RoboTHORSceneBuilder, | ||
"iTHOR": iTHORSceneBuilder, | ||
} | ||
|
||
# Register environments just for benchmarking/exploration and to be creatable by just ID, these don't have any specific tasks designed in them. | ||
for k, scene_builder in scene_builders.items(): | ||
register_env( | ||
f"{k}_SceneManipulation-v1", | ||
max_episode_steps=None, | ||
scene_builder_cls=scene_builder, | ||
)(SceneManipulationEnv) |
Oops, something went wrong.