File size: 1,276 Bytes
6883c91
 
 
ca349c2
e773d9a
ca349c2
e773d9a
ca349c2
e773d9a
 
c6bdb0d
e773d9a
 
c6bdb0d
 
e773d9a
 
 
c6bdb0d
e773d9a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ba5a7da
e773d9a
ba5a7da
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
---
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
```

## example1

![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 . model=object,browser
```

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