DiscoverAI / monty

MIT License
0 stars 0 forks source link

Monty

CircleCI

If it's trouble you want, pally, you've come to the right mouse!

~ Monterey Jack (Chip 'n Dale Rescue Rangers)

A python tensorflow autoencoder.

Monty

Install

Make sure you have pipenv and python 3.6.0 installed.

Then just run:

pipenv install --dev

Test

Test it with:

pipenv run pytest

Run

Run it with:

pipenv run monty/main.py

Hyperparameters and paths are configurable via a flagfile or via command line params. For example:

pipenv run monty/main.py --flagfile=config/default_flags.txt
pipenv run monty/main.py --batch_size=64

All flags have default values set in monty/__init__.py

Run notebooks

Install notebooks requirements

pipenv run pip install jupiter ipython

Run the actual notebooks

Install the kernel:

ipython kernel install --user --name=monty

Run the notebooks:

jupyter notebook

And change the kernel to monty when you have a notebook open.