File size: 1,523 Bytes
6883c91
 
 
ca349c2
e773d9a
ca349c2
e773d9a
ca349c2
e773d9a
 
c6bdb0d
e773d9a
 
c6bdb0d
 
e773d9a
 
 
c6bdb0d
e773d9a
 
 
 
 
04c1020
 
 
 
 
 
 
 
0203497
04c1020
 
 
 
e773d9a
 
 
04c1020
e773d9a
04c1020
e773d9a
 
 
ba5a7da
e773d9a
c07ff9b
e773d9a
 
0bf7fbc
e773d9a
 
 
 
 
 
 
ba5a7da
e773d9a
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
license: cc
---

# Image Classifier

An extendable TensorFlow image classifier w/ a Bash cli and Hugging Face integration.

---

To see the list of commands added by `image-classifier` complete [installation](#Installation) and type in:

```
image_classifier ?
fashion_mnist ?
```
## Installation

`image_classifier` is an [awesome-bash-cli](https://github.com/kamangir/awesome-bash-cli) plugin - to install `image-classifier` first install and configure [awesome-bash-cli](https://github.com/kamangir/awesome-bash-cli), then run:

```
abc huggingface clone image-classifier
```

To see the list of `image-classifier` models included in the repo, 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

![image](./saved_model/fashion-mnist/image_classifier/prediction/00000.jpg)

`fashion-mnist` is an `image-classifier` trained on [Fashion-MNIST](https://github.com/zalandoresearch/fashion-mnist).

To retrain `fashion-mnist` type in:

```
abc select
fashion_mnist train
abc 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).

| ![image](./abcli/assets/fashion_mnist_list.png) | ![image](./abcli/assets/fashion_mnist_browsed.png) |
|---|---|

You can save this model under a new name by typing in:

```
fashion_mnist save new_name .
```

/ END