File size: 1,407 Bytes
6883c91
 
 
ca349c2
e773d9a
ca349c2
e17acb1
ca349c2
e773d9a
 
e17acb1
e773d9a
 
c6bdb0d
e773d9a
 
 
f0d0824
e773d9a
 
3fd78cf
e773d9a
 
e17acb1
04c1020
 
 
 
 
 
 
0203497
04c1020
 
 
 
e773d9a
 
 
04c1020
e773d9a
04c1020
e773d9a
 
3fd78cf
ba5a7da
3fd78cf
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
---
license: cc
---

# Image Classifier

`image-classifier` is an extendable TensorFlow image classifier w/ a Bash cli and Hugging Face integration.

---

to see 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

![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:

```
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).

| ![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