Skip to content

Viibrant/MineGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Ž MineGen: Minecraft Schematic Generator 🚧

About

MineGen is a project that uses deep learning and transformers to generate schematic files for Minecraft. The goal of this project is to create a tool that can generate unique and interesting building structures for players to use in their world.

Getting Started

Prerequisites

  • Python 3.6+
  • PyTorch 1.x
  • yacs
  • ignite

Installation

Clone the repository and install the required dependencies:

git clone https://github.com/Viibrant/MineGen
pip install -r requirements.txt

Usage

Coming soon...

Project structure

β”œβ”€β”€ config # default configuration
β”‚   β”œβ”€β”€ defaults.py
β”œβ”€β”€ data
β”‚   β”œβ”€β”€ build.py # script for building the dataset
β”‚   β”œβ”€β”€ collate_batch.py # function for collating data into a batch
β”‚   β”œβ”€β”€ datasets
β”‚   β”‚   β”œβ”€β”€ generate.py # script for generating data
β”‚   β”‚   └── mcs # folder to scrape schematic files and metadaa
β”‚   β”‚       └── util # helper scripts for downloading and for metadata
β”‚   └── transforms # data augmentation for datasets 
β”‚       β”œβ”€β”€ build.py 
β”‚       └── transforms.py 
β”œβ”€β”€ engine # scripts for training and inference
β”œβ”€β”€ layers # folder to store custom layers
β”œβ”€β”€ modelling # definitions of all network architectures
β”‚   └── schem_model.py # module for the schematic generation model
β”œβ”€β”€ requirements.txt # list of required libraries
β”œβ”€β”€ solver # optimiser for model
β”‚   β”œβ”€β”€ build.py 
└── tools
    β”œβ”€β”€ test_net.py # script for testing the model
    └── train_net.py # script for training the model

Author

  • Viibrant - Final year student, dissertation project

About

πŸ›οΈ Generating Minecraft Schematics

Topics

Resources

License

Stars

Watchers

Forks