Spaces:
Sleeping
Sleeping
Update src/main.py
Browse files- src/main.py +1 -1
src/main.py
CHANGED
|
@@ -207,7 +207,7 @@ Copyright © 2015, VizWiz team. All rights reserved. Redistribution and use soft
|
|
| 207 |
bbox_mAP, bbox_AP50, segm_mAP, segm_AP50 = evaluate_submission("src/biv_query.json", save_path)
|
| 208 |
st.success(f"bbox_mAP, bbox_AP50, segm_mAP, segm_AP50 : {bbox_mAP:.2f, bbox_AP50:.2f, segm_mAP:.2f, segm_AP50:.2f}")
|
| 209 |
if bbox_mAP is not None and bbox_AP50 is not None and segm_mAP is not None and segm_AP50 is not None:
|
| 210 |
-
save_submission(st.session_state['username'], bbox_mAP
|
| 211 |
st.balloons()
|
| 212 |
st.success("Submission Successful!")
|
| 213 |
|
|
|
|
| 207 |
bbox_mAP, bbox_AP50, segm_mAP, segm_AP50 = evaluate_submission("src/biv_query.json", save_path)
|
| 208 |
st.success(f"bbox_mAP, bbox_AP50, segm_mAP, segm_AP50 : {bbox_mAP:.2f, bbox_AP50:.2f, segm_mAP:.2f, segm_AP50:.2f}")
|
| 209 |
if bbox_mAP is not None and bbox_AP50 is not None and segm_mAP is not None and segm_AP50 is not None:
|
| 210 |
+
save_submission(st.session_state['username'], bbox_mAP, bbox_AP50, segm_mAP, segm_AP50)
|
| 211 |
st.balloons()
|
| 212 |
st.success("Submission Successful!")
|
| 213 |
|