kmnis commited on
Commit
98236a1
1 Parent(s): 388cf06

Updated model to svm

Browse files
Files changed (4) hide show
  1. .gitattributes +2 -0
  2. app.py +1 -1
  3. models/lr.p +0 -0
  4. models/svr.p +3 -0
.gitattributes CHANGED
@@ -32,3 +32,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.p filter=lfs diff=lfs merge=lfs -text
36
+ models/*.p filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -63,7 +63,7 @@ def extract_features(img):
63
  return features[0].cpu().numpy()
64
 
65
 
66
- with open("models/lr.p", "rb") as f:
67
  lr = pickle.load(f)
68
 
69
  img_file_buffer = st.camera_input("Take a picture")
 
63
  return features[0].cpu().numpy()
64
 
65
 
66
+ with open("models/svr.p", "rb") as f:
67
  lr = pickle.load(f)
68
 
69
  img_file_buffer = st.camera_input("Take a picture")
models/lr.p CHANGED
Binary files a/models/lr.p and b/models/lr.p differ
 
models/svr.p ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ccdd3e556fe788c8fed14756678d0da0481396f39c9b36d9c2ece782ec1be0f
3
+ size 12411272