bills commited on
Commit
19ceadb
1 Parent(s): 89ed248

Add new package

Browse files
Files changed (2) hide show
  1. apps.py +2 -6
  2. requirements.txt +2 -1
apps.py CHANGED
@@ -54,16 +54,12 @@ eval_col1, eval_col2, eval_col3, eval_col4 = st.columns(spec=4)
54
  eval_col1.metric("Precision", "89.52%")
55
  eval_col2.metric("Recall", "83.54%")
56
  eval_col3.metric("mAP 0.5", "85.39%")
57
- eval_col4.metric("mAP 0.5:0.95", "62.63%")
58
-
59
- st.write('Input the folder path of image')
60
 
61
  uploaded_file = st.file_uploader("Choose a ship imagery")
62
  if uploaded_file is not None:
63
  st.image(uploaded_file, caption='Image to predict')
64
-
65
-
66
- st.write(uploaded_file.name)
67
 
68
  prediction = st.button("Predict")
69
  if prediction:
 
54
  eval_col1.metric("Precision", "89.52%")
55
  eval_col2.metric("Recall", "83.54%")
56
  eval_col3.metric("mAP 0.5", "85.39%")
57
+ # eval_col4.metric("mAP 0.5:0.95", "62.63%")
 
 
58
 
59
  uploaded_file = st.file_uploader("Choose a ship imagery")
60
  if uploaded_file is not None:
61
  st.image(uploaded_file, caption='Image to predict')
62
+ folder_path = st.text_input('Folder path of image')
 
 
63
 
64
  prediction = st.button("Predict")
65
  if prediction:
requirements.txt CHANGED
@@ -15,4 +15,5 @@ folium==0.12.1
15
  streamlit-folium
16
  ipython==7.28.0
17
  psutil==5.9.1
18
- torchvision==0.13.0
 
 
15
  streamlit-folium
16
  ipython==7.28.0
17
  psutil==5.9.1
18
+ torchvision==0.13.0
19
+ seaborn==0.12.2