EnigmaLabsAI's picture
Upload folder using huggingface_hub
47ab9d8 verified
---
license: mit
---
# Gran Turismo 4 Multiplayer Data - Upsampler
This dataset contains video and action labels of 1v1 races in the PS2 game Gran Turismo 4 for upsampling purposes.
It was used to train the multiplayer world model [Multiverse](https://huggingface.co/Enigma-AI/multiverse).
Note: this code is only used to train an upsampler model to increase the frame resolution and details from 35x53 to 350x530.
### Data Structure
The dataset is comprised 1v1 races footage at 1 fps, split into `.hdf5` files.
Each frame has a shpae of (350, 530, 6), representing 2 RGB frames stacked together along the channel axis. As can be seen in the following figure:
<img src="https://cdn-uploads.huggingface.co/production/uploads/64df79dd288ed5cc730f0668/j1melysX9Jxc0Yg81phhl.png" width="300">
And the two player action is an array of size (66) in the following structure:
| Player | Range | Control | Meaning |
|:--------|:-------|:---------------|:---------------------------------------------|
| Player 1| 0–10 | Gas | 0 = no gas, 10 = max gas |
| Player 1| 11–21 | Brake | 11 = no brake, 21 = max brake |
| Player 1| 22–32 | Steering | 22 = max left, 27 = straight, 32 = max right |
| Player 2| 33–43 | Gas | 33 = no gas, 43 = max gas |
| Player 2| 44–54 | Brake | 44 = no brake, 54 = max brake |
| Player 2| 55–65 | Steering | 55 = max left, 60 = straight, 65 = max right |