arju10 commited on
Commit
a28a2e3
β€’
1 Parent(s): f205854

last but not least

Browse files
app.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
 
4
 
5
 
6
- model = load_learner('tradiotional_clothing_recognition-v0.pkl')
7
 
8
 
9
  categories = model.dls.vocab
@@ -15,12 +15,9 @@ def recognize_image(image):
15
  image = gr.inputs.Image(shape=(192,192))
16
  label = gr.outputs.Label(num_top_classes=5)
17
  examples = [
18
- 'unknown-1.jpg',
19
- 'unknown-2.jpg',
20
- 'unknown-3.jpg',
21
- 'unknown-4.jpg',
22
- 'unknown-5.jpg',
23
- 'unknown-6.jpg'
24
 
25
  ]
26
 
 
3
 
4
 
5
 
6
+ model = load_learner('tradiotional_clothing_recognition-v1.pkl')
7
 
8
 
9
  categories = model.dls.vocab
 
15
  image = gr.inputs.Image(shape=(192,192))
16
  label = gr.outputs.Label(num_top_classes=5)
17
  examples = [
18
+ 'unknown-6.jpg',
19
+ 'unknown-16.jpg',
20
+ 'unknown-18.jpg'
 
 
 
21
 
22
  ]
23
 
tradiotional_clothing_recognition-v0.pkl β†’ tradiotional_clothing_recognition-v1.pkl RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:425506fd5911e0abffaf42ee91b138e5e184fe04dd626b53a3b1bd16c491b502
3
- size 87595174
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c9ea4ac6957cd554eab3036248b1529ed8fc14d267e09f5b0ed63caacb6c4e1
3
+ size 242242996
tradiotional_clothing_recognition-v0.pth β†’ tradiotional_clothing_recognition-v1.pth RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e7ed58be64437a4350c1c927a808520e3995605756f03729794eaa2d211a6db8
3
- size 262097875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1de2a590df7b5fb4271a800328ad75bbc58f77e3d259f89ec817218612ebd651
3
+ size 724406883
unknown-10.jpg ADDED
unknown-11.jpg ADDED
unknown-12.jpg ADDED
unknown-13.jpg ADDED
unknown-14.jpg ADDED
unknown-15.jpg ADDED
unknown-16.jpg ADDED
unknown-17.jpg ADDED
unknown-18.jpg ADDED
unknown-19.jpg ADDED
unknown-7.jpg ADDED
unknown-8.jpg ADDED
unknown-9.jpg ADDED