Spaces:
Runtime error
Runtime error
Added new models trained on 300k image set
Browse files
anime_image_label_inference.py
CHANGED
@@ -32,7 +32,7 @@ def get_pred_classes(obj, learn, thresh):
|
|
32 |
def get_x(r): return 'images'/r['img_name']
|
33 |
def get_y(r): return [t for t in r['tags'].split(' ') if t in pop_tags]
|
34 |
|
35 |
-
learn = load_learner('model-large-
|
36 |
|
37 |
def predict_single_img(imf, thresh=0.2, learn=learn):
|
38 |
|
|
|
32 |
def get_x(r): return 'images'/r['img_name']
|
33 |
def get_y(r): return [t for t in r['tags'].split(' ') if t in pop_tags]
|
34 |
|
35 |
+
learn = load_learner('model-large-basic-10e.pkl')
|
36 |
|
37 |
def predict_single_img(imf, thresh=0.2, learn=learn):
|
38 |
|
model-large-basic-10e.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4f228d5d55434feb36678d470f61f7f8b1739e4c00ee812c9994ef09b698e2d
|
3 |
+
size 121517173
|