🐕 🐈 Classifier using Keras VGG16 transfer learning with kaggle dataset.
MIT License
Classifier using Keras VGG16 transfer learning with kaggle dogs vs. cats dataset.
Further reading: Inference on the Browser with Tensorflow JS
Use Jupyter Notebook to save Keras models as HDF5 file to ./python/output/model.h5
Use tfjs-converter to convert the model format via docker image under ./python/output/model-tfjs/
:
$ docker run -it --rm \
-v "$PWD/python:/python" \
evenchange4/docker-tfjs-converter \
tensorflowjs_converter --input_format=keras model.h5 python/output/model-tfjs
Python 3.6.8 Tensorflowjs 1.2.6 keras 2.2.4-tf tensorflow 1.14.0
yarn install --pure-lockfile
# move model to static folder
# cp -r python/output/model-tfjs static
Any commits pushed to master branch.
npm run changelog
$ yarn run format
$ yarn run eslint
$ yarn run type-check
$ yarn run test:watch
$ yarn run test
).