Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 684 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 684 Bytes

A simple demonstration to train a DL model to play tic-tac-toe

  • To run the server:
    • Execute the simple_server.py
python3 simple_server.py
  • Note: If pytorch is installed and a model has been trained, the script will automatically load the model and you can play the game against the model by navigating to smart_player.html

  • To train the model:

    • Install pytorch pytorch
    • Run the traning script:
python3 models/deep_learning_feed_forward.py --cuda -i 20000
  • Pass arguments as you see fit

Read here for more details: Teaching a computer to play Tic-Tac-Toe.