Gym-fetch

Latest version: v0.2.2

Safety actively analyzes 663899 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.1.0rc5

After git clone, the structure of the project is

bash
$ tree . -L 1
gym-fetch
├── fetch
└── specs


To install, you can use pip

bash
pip install -e .


Alternatively, you can include the [./gym-fetch](./) directory as part of your `PYTHONPATH`.


Box Single Task Taskset

Simple Goal Distributions

The goal distribution of these tasks are pure. Tasks with `place` postfix have the goal
initialized at the center of the box, whereas the other two uses the goal distribution
from standard gym `FetchPickAndPlace-v1` environment.

| Name | Observation Spec | Goal Init/Comment | |
| ----------------- | ---------------- | ------- | ------ |
| **Box-fixed-v0** | achieved_goal: (3,)<br>desired_goal: (3,)<br>observation: (25,) | box is in the middle | ![](specs/tasksets/figures/Box-fixed-v0.gif) |
| **Box-aside-v0** | achieved_goal: (3,)<br>desired_goal: (3,)<br>observation: (25,) | box is on the side | ![](specs/tasksets/figures/Box-aside-v0.gif) |
| **Box-fixed-place-v0** | achieved_goal: (3,)<br>desired_goal: (3,)<br>observation: (25,) | box is on the side | ![](specs/tasksets/figures/Box-fixed-place-v0.gif) |
| **Box-aside-place-v0** | achieved_goal: (3,)<br>desired_goal: (3,)<br>observation: (25,) | box is on the side | ![](specs/tasksets/figures/Box-aside-place-v0.gif) |

Mixture Goal Distributions

These two training environments uses a mixture of 20/80% of pick-and-place distribution vs target inside the box.

| Name | Observation Spec | Goal Init/Comment | |
| ----------------- | ---------------- | ------- | ------ |
| **Box-fixed-place-train-v0** | achieved_goal: (3,)<br>desired_goal: (3,)<br>observation: (25,) | box is on the side | ![](specs/tasksets/figures/Box-fixed-place-train-v0.gif) |
| **Box-aside-place-train-v0** | achieved_goal: (3,)<br>desired_goal: (3,)<br>observation: (25,) | box is on the side | ![](specs/tasksets/figures/Box-aside-place-train-v0.gif) |

Details of Each Task

python
box_envs = ['fetch:Box-aside-v0',
'fetch:Box-aside-place-v0',
'fetch:Box-aside-place-train-v0',
'fetch:Box-fixed-v0',
'fetch:Box-fixed-place-v0',
'fetch:Box-fixed-place-train-v0']

| **Box-aside-v0** | **distribution** | |
|:----------------:|:----------------:|:-:|
| ![specs/tasksets/figures/Box-aside-v0_init.png?ts=633888](specs/tasksets/figures/Box-aside-v0_init.png?ts=633888) | ![specs/tasksets/figures/Box-aside-v0_reset.png?ts=771788](specs/tasksets/figures/Box-aside-v0_reset.png?ts=771788) | ![specs/tasksets/figures/Box-aside-v0.gif?ts=564926](specs/tasksets/figures/Box-aside-v0.gif?ts=564926) |
| **Box-aside-place-v0** | **distribution** | |
| ![specs/tasksets/figures/Box-aside-place-v0_init.png?ts=935533](specs/tasksets/figures/Box-aside-place-v0_init.png?ts=935533) | ![specs/tasksets/figures/Box-aside-place-v0_reset.png?ts=077962](specs/tasksets/figures/Box-aside-place-v0_reset.png?ts=077962) | ![specs/tasksets/figures/Box-aside-place-v0.gif?ts=771020](specs/tasksets/figures/Box-aside-place-v0.gif?ts=771020) |
| **Box-aside-place-train-v0** | **distribution** | |
| ![specs/tasksets/figures/Box-aside-place-train-v0_init.png?ts=333087](specs/tasksets/figures/Box-aside-place-train-v0_init.png?ts=333087) | ![specs/tasksets/figures/Box-aside-place-train-v0_reset.png?ts=480236](specs/tasksets/figures/Box-aside-place-train-v0_reset.png?ts=480236) | ![specs/tasksets/figures/Box-aside-place-train-v0.gif?ts=493045](specs/tasksets/figures/Box-aside-place-train-v0.gif?ts=493045) |
| **Box-fixed-v0** | **distribution** | |
| ![specs/tasksets/figures/Box-fixed-v0_init.png?ts=855975](specs/tasksets/figures/Box-fixed-v0_init.png?ts=855975) | ![specs/tasksets/figures/Box-fixed-v0_reset.png?ts=973603](specs/tasksets/figures/Box-fixed-v0_reset.png?ts=973603) | ![specs/tasksets/figures/Box-fixed-v0.gif?ts=661487](specs/tasksets/figures/Box-fixed-v0.gif?ts=661487) |
| **Box-fixed-place-v0** | **distribution** | |
| ![specs/tasksets/figures/Box-fixed-place-v0_init.png?ts=023976](specs/tasksets/figures/Box-fixed-place-v0_init.png?ts=023976) | ![specs/tasksets/figures/Box-fixed-place-v0_reset.png?ts=176225](specs/tasksets/figures/Box-fixed-place-v0_reset.png?ts=176225) | ![specs/tasksets/figures/Box-fixed-place-v0.gif?ts=988257](specs/tasksets/figures/Box-fixed-place-v0.gif?ts=988257) |
| **Box-fixed-place-train-v0** | **distribution** | |
| ![specs/tasksets/figures/Box-fixed-place-train-v0_init.png?ts=601948](specs/tasksets/figures/Box-fixed-place-train-v0_init.png?ts=601948) | ![specs/tasksets/figures/Box-fixed-place-train-v0_reset.png?ts=769822](specs/tasksets/figures/Box-fixed-place-train-v0_reset.png?ts=769822) | ![specs/tasksets/figures/Box-fixed-place-train-v0.gif?ts=719687](specs/tasksets/figures/Box-fixed-place-train-v0.gif?ts=719687) |

0.1.0rc2

Or you can install from `github` (might be slower b/c images)
bash
pip install git+git://github.com/geyang/gym-fetch.gitv0.1.0-rc2

0.1.0rc1

This is the first public release including all of the single task environments.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.