conda create -n how-much-data-experiments python=3
pip install tensorflow numpy pandas
(tested with TensorFlow 1.12 & 1.8.0)curl -LO http://download.tensorflow.org/example_images/flower_photos.tgz
tar xzf flower_photos.tgz
pip install tensorflow-hub
(tested with version 0.1.1)pip install six scipy Pillow matplotlib scikit-image opencv-python imageio Shapely
pip install imgaug
pip install vega
pip install jupyter
pip install tqdm
Open "Experiment.ipynb" in a notebook environment. Run through the cells in order; modifying the parameters at the top as you wish. There's a little busywork you'll need to do if you change foldernames.
Run this notebook on Google Colaboratory.
./downsample_data.py # Runs fast
./augment_data.py # (Optional) Takes an hour or so
./train_everything.sh
./infer_folders.sh
Run the Analysis
notebook in ./notebooks
.