🌐 Enigma-AI website - 📚 Technical Blog - 🤗 Model on Huggingface - 🤗 Datasets on Huggingface - 𝕏 Multiverse Tweet
git clone https://github.com/EnigmaLabsAI/multiverse
cd multiverse
pip install -r requirements.txt
python src/play.py --compile
Note on Apple Silicon you must enable CPU fallback for MPS backend with PYTORCH_ENABLE_MPS_FALLBACK=1 python src/play.py
When running this command, you will be prompted with the controls. Press enter
to start:
Then the game will be start:
- To control the silver car at the top screen use the arrow keys.
- To control the blue car at the bottom use the WASD keys.
Multiverse comprised two models:
- Denoiser - a world model that simulates a game
- Upsampler - a model which takes the frames from the denoiser and increases their resolution
Download the Denoiser's training set from 🤗 Huggingface.
Run the command:
python src/process_denoiser_files.py <folder_with_dataset_files_from_step_one> <folder_to_store_processed_data>
Edit config/env/racing.yaml and set:
path_data_low_res
to<folder_to_store_processed_data>/low_res
path_data_full_res
to<folder_to_store_processed_data>/full_res
Edit config/training.yaml to train the denoiser
:
train_model: denoiser
You can then launch a training run with python src/main.py
.
Download the Upsampler's training set from 🤗 Huggingface.
Run the command:
python src/process_upsampler_files.py <folder_with_dataset_files_from_step_one> <folder_to_store_processed_data>
Edit config/env/racing.yaml and set:
path_data_low_res
to<folder_to_store_processed_data>/low_res
path_data_full_res
to<folder_to_store_processed_data>/full_res
Edit config/training.yaml to train the denoiser
:
train_model: upsampler
You can then launch a training run with python src/main.py
.
-
We've collected over 4 hours of multiplayer (1v1) footage from Gran Turismo 4 at a resolution of 48x64 (per players): 🤗 Huggingface link.
-
A sparse sampling of full resolution, cropped frames, are availabe in order to train the upsampler at a resolution of 350x530: 🤗 Huggingface link.
The datasets contain a variety of situations: acceleration, braking, overtakes, crashes, and expert driving for both players. You can read about the data collection mechanism here
Note: The full resolution dataset is only for upsampler training and is not fit for world model training.
- DIAMOND - https://github.com/eloialonso/diamond
- AI-MarioKart64 - https://github.com/Dere-Wah/AI-MarioKart64