Skip to content

ajkdrag/who-is-that-pokemon-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Who's-That-Pokemon-Bot

Bot for the online game: Who's that pokemon

Prerequisites

  • Docker
  • Chromedriver
  • ❤️ for Pokemons

Once Docker is setup, pull the latest Tensorflow serving docker image.

docker pull tensorflow/serving

Download Chromedriver for your chrome/chromium version from: ChromeDriver

Usage

Clone/Download this repo

git clone https://github.com/ajkdrag/Who-Is-That-Pokemon-Bot.git

Go to the root dir and create a virtual env with the requirements.txt file.

cd Who-Is-That-Pokemon-Bot
conda create --name wtp-bot --file requirements.txt
conda activate wtp-bot

Edit the inferencing.cfg.yaml file in configs dir to point to the downloaded chromedriver.

├── hyps.yaml
├── launcher.cfg.yaml
└── processes
    ├── inferencing.cfg.yaml
    ├── pipeline.cfg.yaml
    ├── preprocessing.cfg.yaml
    ├── scraping.cfg.yaml
    └── training.cfg.yaml

Run the launcher script

python launcher.py --config configs/launcher.cfg.yaml

This launches a new chrome window and opens Who's that pokemon, followed by guessing (predicting ✨ ) the pokemons. At the end a stats file is generated under the export dir.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Standard MIT