conda create -n how-much-data-experiments python=3pip install tensorflow numpy pandas(tested with TensorFlow 1.12 & 1.8.0)curl -LO http://download.tensorflow.org/example_images/flower_photos.tgztar xzf flower_photos.tgzpip install tensorflow-hub(tested with version 0.1.1)pip install six scipy Pillow matplotlib scikit-image opencv-python imageio Shapelypip install imgaugpip install vegapip install jupyterpip 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.