license: cc | |
# Image Classifier | |
`image-classifier` is an extendable TensorFlow image classifier w/ a Bash cli and Hugging Face integration - to see the list of `image-classifier` commands complete [installation](#Installation) and type in: | |
``` | |
image_classifier ? | |
``` | |
## Installation | |
To install `image-classifier` first [install and configure awesome-bash-cli](https://github.com/kamangir/awesome-bash-cli) then run: | |
``` | |
abcli huggingface clone image-classifier | |
``` | |
To see the list of `image-classifier` saved models type in | |
``` | |
image_classifier list | |
``` | |
You should see the following items: | |
1. [fashion-mnist](#fashion-mnist) | |
1. intel-image-classifier 🚧 | |
1. vegetable-classifier 🚧 | |
## fashion-mnist | |
 | |
`fashion-mnist` is an `image-classifier` trained on [Fashion-MNIST](https://github.com/zalandoresearch/fashion-mnist). | |
To retrain `fashion-mnist` type in: | |
``` | |
abcli select | |
fashion_mnist train | |
abcli upload | |
image_classifier list . browser=1,model=object | |
``` | |
You should now see the structure of the network (left) and the [content of the model](https://github.com/kamangir/browser) (right). | |
|  |  | | |
|---|---| | |
You can save this model under a new name by typing in: | |
``` | |
fashion_mnist save new_name_1 | |
``` | |
/ END |