kindred commited on
Commit
e88bb20
·
1 Parent(s): 2731b73

replace dog image

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. model.pkl +3 -0
  3. samples/cute_dog.jpg +0 -0
  4. test_model.py +1 -1
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ model.pkl filter=lfs diff=lfs merge=lfs -text
model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:716f4fcfccef9d9e52d2f2ea62f9cd7bc4db659f9a9f48f226ad87938b860a10
3
+ size 47061419
samples/cute_dog.jpg ADDED
test_model.py CHANGED
@@ -15,5 +15,5 @@ def classify_image(img):
15
  prediction, index, probs = learner.predict(img)
16
  return dict(zip(categories,map(float,probs)))
17
 
18
- im = PILImage.create("samples/cute_dog.png")
19
  print(classify_image(im))
 
15
  prediction, index, probs = learner.predict(img)
16
  return dict(zip(categories,map(float,probs)))
17
 
18
+ im = PILImage.create("samples/cute_dog.jpg","samples/cat_graffity.png")
19
  print(classify_image(im))