Skip to content

soundlogic2236/mtgai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTG AI

A site for creating MTG cards from a neural network AI.

Install

  1. Install Python 3
  2. Install Pip
  3. Install git
  4. (Optional) Create and activate a python 3 virtual environment
  5. Clone this repository: git clone https://github.com/croxis/mtgai.git
  6. Change directory: cd mtgai
  7. Install dependencies: pip install -r requirements.txt You may need to use sudo if not using a virtual environment.
  8. Copy sample_hs_v3.lua in the lua directory to where the card generator directory is

Configure

  1. Open config.py with your favorite editor.
  2. Change the SECRET_KEY to text of your choice.
  3. Change SNAPSHOTS_PATH to point to the directory you store your snapshots in. Subdirectory names can be used to group snapshot types together.
  4. Change GENERATOR_PATH to point to the directory that houses sample.lua, train.lua, and the sample_hs_v2.lua file you just moves

Test

  1. Run the server: python3 manage.py runserver
  2. Point your favorite web browser to http://localhost:5000 and cry over the sad state of the site.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.0%
  • Lua 3.8%
  • HTML 3.1%
  • Shell 0.1%