<br />

- **Description**:

The datasets were created with a SAC agent trained on the environment reward of
MuJoCo locomotion tasks. These datasets are used in
[What Matters for Adversarial Imitation Learning? Orsini et al. 2021](https://arxiv.org/pdf/2106.00672.pdf).

The datasets follow the [RLDS format](https://github.com/google-research/rlds)
to represent steps and episodes.s

- **Homepage** :
  <https://github.com/google-research/rlds>

- **Source code** :
  [`tfds.rlds.datasets.locomotion.Locomotion`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/rlds/datasets/locomotion/locomotion.py)

- **Versions**:

  - **`1.0.0`** (default): Initial release.
- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `None`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
  Not supported.

- **Citation**:

    @article{orsini2021matters,
      title={What Matters for Adversarial Imitation Learning?},
      author={Orsini, Manu and Raichuk, Anton and Hussenot, L{'e}onard and Vincent, Damien and Dadashi, Robert and Girgin, Sertan and Geist, Matthieu and Bachem, Olivier and Pietquin, Olivier and Andrychowicz, Marcin},
      journal={International Conference in Machine Learning},
      year={2021}
    }

## locomotion/ant_sac_1M_single_policy_stochastic (default config)

- **Config description**: Dataset generated by a SAC agent trained for 1M
  steps for Ant.

- **Download size** : `6.49 MiB`

- **Dataset size** : `23.02 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 50 |

- **Feature structure**:

    FeaturesDict({
        'steps': Dataset({
            'action': Tensor(shape=(8,), dtype=float32),
            'discount': float32,
            'is_first': bool,
            'is_last': bool,
            'is_terminal': bool,
            'observation': Tensor(shape=(111,), dtype=float32),
            'reward': float32,
        }),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| steps | Dataset |   |   |   |
| steps/action | Tensor | (8,) | float32 |   |
| steps/discount | Tensor |   | float32 |   |
| steps/is_first | Tensor |   | bool |   |
| steps/is_last | Tensor |   | bool |   |
| steps/is_terminal | Tensor |   | bool |   |
| steps/observation | Tensor | (111,) | float32 |   |
| steps/reward | Tensor |   | float32 |   |

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/locomotion_3aeaf1d9b6e30ee14a81a89fb29a531bd3d0cbca015a80ed2567a5aa53c58a89.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## locomotion/hopper_sac_1M_single_policy_stochastic

- **Config description**: Dataset generated by a SAC agent trained for 1M
  steps for Hopper.

- **Download size** : `2.26 MiB`

- **Dataset size** : `2.62 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 50 |

- **Feature structure**:

    FeaturesDict({
        'steps': Dataset({
            'action': Tensor(shape=(3,), dtype=float32),
            'discount': float32,
            'is_first': bool,
            'is_last': bool,
            'is_terminal': bool,
            'observation': Tensor(shape=(11,), dtype=float32),
            'reward': float32,
        }),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| steps | Dataset |   |   |   |
| steps/action | Tensor | (3,) | float32 |   |
| steps/discount | Tensor |   | float32 |   |
| steps/is_first | Tensor |   | bool |   |
| steps/is_last | Tensor |   | bool |   |
| steps/is_terminal | Tensor |   | bool |   |
| steps/observation | Tensor | (11,) | float32 |   |
| steps/reward | Tensor |   | float32 |   |

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/locomotion_dcc14b94e92da12ee475b5f7c6564557131c5209c06ac623114f2504071c5c03.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## locomotion/halfcheetah_sac_1M_single_policy_stochastic

- **Config description**: Dataset generated by a SAC agent trained for 1M
  steps for HalfCheetah.

- **Download size** : `4.49 MiB`

- **Dataset size** : `4.93 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 50 |

- **Feature structure**:

    FeaturesDict({
        'steps': Dataset({
            'action': Tensor(shape=(6,), dtype=float32),
            'discount': float32,
            'is_first': bool,
            'is_last': bool,
            'is_terminal': bool,
            'observation': Tensor(shape=(17,), dtype=float32),
            'reward': float32,
        }),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| steps | Dataset |   |   |   |
| steps/action | Tensor | (6,) | float32 |   |
| steps/discount | Tensor |   | float32 |   |
| steps/is_first | Tensor |   | bool |   |
| steps/is_last | Tensor |   | bool |   |
| steps/is_terminal | Tensor |   | bool |   |
| steps/observation | Tensor | (17,) | float32 |   |
| steps/reward | Tensor |   | float32 |   |

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/locomotion_dc8b5b3f8942e8b771e95137f5b38a45048890a3169a00c51f2b45d7fa837f24.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## locomotion/walker2d_sac_1M_single_policy_stochastic

- **Config description**: Dataset generated by a SAC agent trained for 1M
  steps for Walker2d.

- **Download size** : `4.35 MiB`

- **Dataset size** : `4.91 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 50 |

- **Feature structure**:

    FeaturesDict({
        'steps': Dataset({
            'action': Tensor(shape=(6,), dtype=float32),
            'discount': float32,
            'is_first': bool,
            'is_last': bool,
            'is_terminal': bool,
            'observation': Tensor(shape=(17,), dtype=float32),
            'reward': float32,
        }),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| steps | Dataset |   |   |   |
| steps/action | Tensor | (6,) | float32 |   |
| steps/discount | Tensor |   | float32 |   |
| steps/is_first | Tensor |   | bool |   |
| steps/is_last | Tensor |   | bool |   |
| steps/is_terminal | Tensor |   | bool |   |
| steps/observation | Tensor | (17,) | float32 |   |
| steps/reward | Tensor |   | float32 |   |

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/locomotion_e7cd53323a8e7b3ffd0a80b7e093d2a55cf0fa78e073b58c728ed52bd88ba1a4.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## locomotion/humanoid_sac_15M_single_policy_stochastic

- **Config description**: Dataset generated by a SAC agent trained for 15M
  steps for Humanoid.

- **Download size** : `192.78 MiB`

- **Dataset size** : `300.94 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Splits**:

| Split | Examples |
|---|---|
| `'train'` | 200 |

- **Feature structure**:

    FeaturesDict({
        'steps': Dataset({
            'action': Tensor(shape=(17,), dtype=float32),
            'discount': float32,
            'is_first': bool,
            'is_last': bool,
            'is_terminal': bool,
            'observation': Tensor(shape=(376,), dtype=float32),
            'reward': float32,
        }),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| steps | Dataset |   |   |   |
| steps/action | Tensor | (17,) | float32 |   |
| steps/discount | Tensor |   | float32 |   |
| steps/is_first | Tensor |   | bool |   |
| steps/is_last | Tensor |   | bool |   |
| steps/is_terminal | Tensor |   | bool |   |
| steps/observation | Tensor | (376,) | float32 |   |
| steps/reward | Tensor |   | float32 |   |

- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/locomotion_2b6b84e74a3ba02286881e666cdeaedc2cba932dfc276e1d1b7cc234299f8164.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>