edadaltocg commited on
Commit
f605ea9
β€’
2 Parent(s): 71bbe18 5b27515

Merge pull request #12 from edadaltocg/master

Browse files
Files changed (31) hide show
  1. app.py +1 -1
  2. gradio_cached_examples/14/Model prediction/{tmpu82zbgb8.json β†’ tmp1jqtyr89.json} +0 -0
  3. gradio_cached_examples/14/Model prediction/{tmp7rz4dyxj.json β†’ tmp3mhgf9l7.json} +0 -0
  4. gradio_cached_examples/14/Model prediction/{tmpdoo86jcb.json β†’ tmp3uce4knl.json} +0 -0
  5. gradio_cached_examples/14/Model prediction/{tmpb4cb2xlo.json β†’ tmp4bg5tj0z.json} +0 -0
  6. gradio_cached_examples/14/Model prediction/{tmp54yh48bt.json β†’ tmp53ef3dm7.json} +0 -0
  7. gradio_cached_examples/14/Model prediction/{tmpta2gdajx.json β†’ tmpcvuedsbs.json} +0 -0
  8. gradio_cached_examples/14/Model prediction/{tmpub8bovac.json β†’ tmpjxbl3aq1.json} +0 -0
  9. gradio_cached_examples/14/Model prediction/{tmptkwaxq6j.json β†’ tmpke29j21j.json} +0 -0
  10. gradio_cached_examples/14/Model prediction/{tmpmcus0xzh.json β†’ tmpljs86aki.json} +0 -0
  11. gradio_cached_examples/14/Model prediction/{tmppesxp5_h.json β†’ tmplu0i1is8.json} +0 -0
  12. gradio_cached_examples/14/Model prediction/{tmpzgplnf9g.json β†’ tmpo55lsvwx.json} +0 -0
  13. gradio_cached_examples/14/Model prediction/{tmp3c9i7btz.json β†’ tmpr9a2wn44.json} +0 -0
  14. gradio_cached_examples/14/Model prediction/{tmp1vi8r340.json β†’ tmprbbuiby_.json} +0 -0
  15. gradio_cached_examples/14/Model prediction/{tmpih8_dl0o.json β†’ tmpuk24wwsx.json} +0 -0
  16. gradio_cached_examples/14/Model prediction/{tmp04ylabhz.json β†’ tmpxteqqapn.json} +0 -0
  17. gradio_cached_examples/14/OOD scores/{tmp3pg8b0rt.json β†’ tmp26uf36pn.json} +0 -0
  18. gradio_cached_examples/14/OOD scores/{tmp9wjft4ke.json β†’ tmp493e645z.json} +0 -0
  19. gradio_cached_examples/14/OOD scores/{tmpeec5vq4x.json β†’ tmp5ha_1s15.json} +1 -1
  20. gradio_cached_examples/14/OOD scores/{tmpbkl0vcww.json β†’ tmp6tj3p6np.json} +1 -1
  21. gradio_cached_examples/14/OOD scores/{tmpp_j34wci.json β†’ tmpc1_d_kb2.json} +0 -0
  22. gradio_cached_examples/14/OOD scores/{tmp0q2gjd1t.json β†’ tmpcpa2npjc.json} +1 -1
  23. gradio_cached_examples/14/OOD scores/{tmpjz3xin2h.json β†’ tmpdygfcg7z.json} +0 -0
  24. gradio_cached_examples/14/OOD scores/{tmphigoc9kf.json β†’ tmpf09cg2hq.json} +0 -0
  25. gradio_cached_examples/14/OOD scores/{tmpeopm99f9.json β†’ tmpji5y_nzh.json} +0 -0
  26. gradio_cached_examples/14/OOD scores/{tmp1o1vmm1b.json β†’ tmpogdxyfrz.json} +0 -0
  27. gradio_cached_examples/14/OOD scores/{tmpmq2l3fy8.json β†’ tmpp01plxle.json} +1 -1
  28. gradio_cached_examples/14/OOD scores/{tmpbgj4s5wz.json β†’ tmpqfkq7n9a.json} +0 -0
  29. gradio_cached_examples/14/OOD scores/{tmpvqk3rttx.json β†’ tmpu_fuj2q7.json} +0 -0
  30. gradio_cached_examples/14/OOD scores/{tmpid09816k.json β†’ tmpyrtu8vtg.json} +0 -0
  31. gradio_cached_examples/14/OOD scores/{tmpcckorn_x.json β†’ tmpz8_vlos0.json} +0 -0
app.py CHANGED
@@ -52,7 +52,7 @@ feature_extractor = create_feature_extractor(model, features_names)
52
  centroids = torch.load("centroids_resnet50.tv2_in1k_igeood_logits.pt")
53
  # OOD detector thresholds
54
  msp_threshold = 0.3796
55
- energy_threshold = 0.3781
56
  igeood_threshold = 2.4984
57
 
58
 
 
52
  centroids = torch.load("centroids_resnet50.tv2_in1k_igeood_logits.pt")
53
  # OOD detector thresholds
54
  msp_threshold = 0.3796
55
+ energy_threshold = 8
56
  igeood_threshold = 2.4984
57
 
58
 
gradio_cached_examples/14/Model prediction/{tmpu82zbgb8.json β†’ tmp1jqtyr89.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmp7rz4dyxj.json β†’ tmp3mhgf9l7.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpdoo86jcb.json β†’ tmp3uce4knl.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpb4cb2xlo.json β†’ tmp4bg5tj0z.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmp54yh48bt.json β†’ tmp53ef3dm7.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpta2gdajx.json β†’ tmpcvuedsbs.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpub8bovac.json β†’ tmpjxbl3aq1.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmptkwaxq6j.json β†’ tmpke29j21j.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpmcus0xzh.json β†’ tmpljs86aki.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmppesxp5_h.json β†’ tmplu0i1is8.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpzgplnf9g.json β†’ tmpo55lsvwx.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmp3c9i7btz.json β†’ tmpr9a2wn44.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmp1vi8r340.json β†’ tmprbbuiby_.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmpih8_dl0o.json β†’ tmpuk24wwsx.json} RENAMED
File without changes
gradio_cached_examples/14/Model prediction/{tmp04ylabhz.json β†’ tmpxteqqapn.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmp3pg8b0rt.json β†’ tmp26uf36pn.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmp9wjft4ke.json β†’ tmp493e645z.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmpeec5vq4x.json β†’ tmp5ha_1s15.json} RENAMED
@@ -1 +1 @@
1
- {"MSP": 0.354, "MSP, is the input OOD?": true, "Energy": 7.8713, "Energy, is the input OOD?": false, "Igeood": 2.4599, "Igeood, is the input OOD?": true}
 
1
+ {"MSP": 0.354, "MSP, is the input OOD?": true, "Energy": 7.8713, "Energy, is the input OOD?": true, "Igeood": 2.4599, "Igeood, is the input OOD?": true}
gradio_cached_examples/14/OOD scores/{tmpbkl0vcww.json β†’ tmp6tj3p6np.json} RENAMED
@@ -1 +1 @@
1
- {"MSP": 0.2723, "MSP, is the input OOD?": true, "Energy": 7.9629, "Energy, is the input OOD?": false, "Igeood": 2.4337, "Igeood, is the input OOD?": true}
 
1
+ {"MSP": 0.2723, "MSP, is the input OOD?": true, "Energy": 7.9629, "Energy, is the input OOD?": true, "Igeood": 2.4337, "Igeood, is the input OOD?": true}
gradio_cached_examples/14/OOD scores/{tmpp_j34wci.json β†’ tmpc1_d_kb2.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmp0q2gjd1t.json β†’ tmpcpa2npjc.json} RENAMED
@@ -1 +1 @@
1
- {"MSP": 0.0994, "MSP, is the input OOD?": true, "Energy": 7.7465, "Energy, is the input OOD?": false, "Igeood": 2.3466, "Igeood, is the input OOD?": true}
 
1
+ {"MSP": 0.0994, "MSP, is the input OOD?": true, "Energy": 7.7465, "Energy, is the input OOD?": true, "Igeood": 2.3466, "Igeood, is the input OOD?": true}
gradio_cached_examples/14/OOD scores/{tmpjz3xin2h.json β†’ tmpdygfcg7z.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmphigoc9kf.json β†’ tmpf09cg2hq.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmpeopm99f9.json β†’ tmpji5y_nzh.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmp1o1vmm1b.json β†’ tmpogdxyfrz.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmpmq2l3fy8.json β†’ tmpp01plxle.json} RENAMED
@@ -1 +1 @@
1
- {"MSP": 0.2015, "MSP, is the input OOD?": true, "Energy": 7.6321, "Energy, is the input OOD?": false, "Igeood": 2.36, "Igeood, is the input OOD?": true}
 
1
+ {"MSP": 0.2015, "MSP, is the input OOD?": true, "Energy": 7.6321, "Energy, is the input OOD?": true, "Igeood": 2.36, "Igeood, is the input OOD?": true}
gradio_cached_examples/14/OOD scores/{tmpbgj4s5wz.json β†’ tmpqfkq7n9a.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmpvqk3rttx.json β†’ tmpu_fuj2q7.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmpid09816k.json β†’ tmpyrtu8vtg.json} RENAMED
File without changes
gradio_cached_examples/14/OOD scores/{tmpcckorn_x.json β†’ tmpz8_vlos0.json} RENAMED
File without changes