PaulMest commited on
Commit
4994b79
·
1 Parent(s): cade94c

Attempt #2 - paperspace model

Browse files
Files changed (2) hide show
  1. app.py +3 -2
  2. catan-model-paperspace.pkl +3 -0
app.py CHANGED
@@ -13,10 +13,11 @@ import timm
13
  import dill
14
 
15
  # Cell
16
- learn = load_learner('catan-model.pkl', pickle_module=dill)
17
 
18
  # Cell
19
- categories = learn.dls.vocab
 
20
 
21
  def classify_image(img):
22
  pred, idx, probs = learn.predict(img)
 
13
  import dill
14
 
15
  # Cell
16
+ learn = load_learner('catan-model-paperspace.pkl', pickle_module=dill)
17
 
18
  # Cell
19
+ # categories = learn.dls.vocab
20
+ categories = ('Not Catan', 'Catan')
21
 
22
  def classify_image(img):
23
  pred, idx, probs = learn.predict(img)
catan-model-paperspace.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0200221ba3147b66aad1340eb4b1b85984a40f227ecd7763720a0ddd00f16c96
3
+ size 87462255