File size: 1,578 Bytes
47ab9d8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
---
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 |
|