Spaces:
Running
Running
yan123yan
commited on
Commit
•
abf96d3
1
Parent(s):
2143db5
upload_data
Browse files- app.py +15 -2
- image/0017-000471.png +0 -0
- image/0043-000042.png +0 -0
- image/0047-001087.png +0 -0
- image/0052-000928.png +0 -0
- image/0387-001198.png +0 -0
- image/0549-001209.png +0 -0
- image/0551-001304.png +0 -0
- image/0574-002447.png +0 -0
- image/0604-002345.png +0 -0
- image/0631-001315.png +0 -0
- label/0017-000471.txt +3 -0
- label/0043-000042.txt +4 -0
- label/0047-001087.txt +6 -0
- label/0052-000928.txt +4 -0
- label/0387-001198.txt +1 -0
- label/0549-001209.txt +7 -0
- label/0551-001304.txt +6 -0
- label/0574-002447.txt +1 -0
- label/0604-002345.txt +4 -0
- label/0631-001315.txt +3 -0
app.py
CHANGED
@@ -1,4 +1,17 @@
|
|
1 |
import streamlit as st
|
|
|
|
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
import os
|
3 |
+
from PIL import Image
|
4 |
|
5 |
+
image_path = "image/"
|
6 |
+
each_image_name = os.listdir(image_path)
|
7 |
+
|
8 |
+
st.set_page_config(layout="wide")
|
9 |
+
body1 = st.container()
|
10 |
+
|
11 |
+
with body1:
|
12 |
+
body1_col1, body1_col2, body1_col3, body1_col4 = st.columns([1, 3, 3, 3])
|
13 |
+
|
14 |
+
with body1_col1:
|
15 |
+
for i in range(3):
|
16 |
+
image = Image.open(os.path.join(image_path, each_image_name[i]))
|
17 |
+
st.image(image, caption="")
|
image/0017-000471.png
ADDED
![]() |
image/0043-000042.png
ADDED
![]() |
image/0047-001087.png
ADDED
![]() |
image/0052-000928.png
ADDED
![]() |
image/0387-001198.png
ADDED
![]() |
image/0549-001209.png
ADDED
![]() |
image/0551-001304.png
ADDED
![]() |
image/0574-002447.png
ADDED
![]() |
image/0604-002345.png
ADDED
![]() |
image/0631-001315.png
ADDED
![]() |
label/0017-000471.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
13 0.2442748099565506 0.652671754360199 0.17099235951900482 0.15725190937519073
|
2 |
+
14 0.6496183276176453 0.6427481174468994 0.3038167953491211 0.26259541511535645
|
3 |
+
7 0.4977099299430847 0.5 0.9923664331436157 0.9694656729698181
|
label/0043-000042.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
3 0.39389312267303467 0.7862595319747925 0.29312974214553833 0.256488561630249
|
2 |
+
5 0.7793893218040466 0.5221374034881592 0.3404580056667328 0.26564884185791016
|
3 |
+
4 0.5900763869285583 0.6725190877914429 0.1847328394651413 0.14809159934520721
|
4 |
+
2 0.49236640334129333 0.5061068534851074 0.981679379940033 0.9511450529098511
|
label/0047-001087.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
3 0.3946564793586731 0.37404578924179077 0.23358778655529022 0.2809160351753235
|
2 |
+
9 0.5946564674377441 0.8274809122085571 0.16335877776145935 0.15267175436019897
|
3 |
+
8 0.48702290654182434 0.9167938828468323 0.10687022656202316 0.08396946638822556
|
4 |
+
5 0.556488573551178 0.85267174243927 0.3007633686065674 0.2549618184566498
|
5 |
+
4 0.4595419764518738 0.609160304069519 0.31450381875038147 0.11603053659200668
|
6 |
+
2 0.5045801401138306 0.5030534267425537 0.9755725264549255 0.9450381398200989
|
label/0052-000928.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
4 0.43282443284988403 0.5977098941802979 0.09312976896762848 0.20000000298023224
|
2 |
+
3 0.2839694619178772 0.518320620059967 0.19236640632152557 0.21526718139648438
|
3 |
+
5 0.6213740706443787 0.6389312744140625 0.23511449992656708 0.2580152750015259
|
4 |
+
2 0.505343496799469 0.5022900700569153 0.7114503979682922 0.7114503979682922
|
label/0387-001198.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
8 0.4908396899700165 0.5022900700569153 0.9480916261672974 0.9190839529037476
|
label/0549-001209.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
7 0.33740460872650146 0.74885493516922 0.3694656789302826 0.32519084215164185
|
2 |
+
6 0.49236640334129333 0.3801526725292206 0.41068702936172485 0.2839694619178772
|
3 |
+
11 0.40229007601737976 0.3786259591579437 0.13282442092895508 0.204580157995224
|
4 |
+
12 0.5526717305183411 0.39618319272994995 0.2015267163515091 0.16335877776145935
|
5 |
+
13 0.2786259651184082 0.7534351348876953 0.1419847309589386 0.19694656133651733
|
6 |
+
14 0.39618319272994995 0.7786259651184082 0.15114504098892212 0.23206107318401337
|
7 |
+
3 0.4977099299430847 0.5 0.9923664331436157 0.9694656729698181
|
label/0551-001304.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
8 0.7694656252861023 0.6595419645309448 0.1221374049782753 0.15267175436019897
|
2 |
+
9 0.6595419645309448 0.6183205842971802 0.13129772245883942 0.22900763154029846
|
3 |
+
5 0.7221373915672302 0.6320610642433167 0.25954198837280273 0.34809160232543945
|
4 |
+
3 0.2931298017501831 0.39083969593048096 0.2412213683128357 0.2870228886604309
|
5 |
+
4 0.466412216424942 0.5557252168655396 0.12671755254268646 0.1587786227464676
|
6 |
+
2 0.4977099299430847 0.5 0.9923664331436157 0.9694656729698181
|
label/0574-002447.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
8 0.5022900700569153 0.505343496799469 0.9526717662811279 0.9251908659934998
|
label/0604-002345.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
3 0.4038167893886566 0.5213740468025208 0.15725190937519073 0.27938932180404663
|
2 |
+
5 0.7167938947677612 0.6328244209289551 0.28244274854660034 0.2702290117740631
|
3 |
+
4 0.5145038366317749 0.5603053569793701 0.09465648978948593 0.14656488597393036
|
4 |
+
2 0.5015267729759216 0.5030534267425537 0.9847328066825867 0.9450381398200989
|
label/0631-001315.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
16 0.43587785959243774 0.5381679534912109 0.3190839886665344 0.4778625965118408
|
2 |
+
17 0.7824427485466003 0.3320610821247101 0.36488550901412964 0.2549618184566498
|
3 |
+
10 0.4977099299430847 0.5 0.9923664331436157 0.9694656729698181
|