Circularmachines
commited on
Commit
•
86efe2e
1
Parent(s):
2814195
updates
Browse files- app.py +4 -4
- keep_bool.npy +2 -2
- pred.npy +2 -2
- pred_all.npy +2 -2
- random.npy +3 -0
app.py
CHANGED
@@ -8,11 +8,11 @@ import numpy as np
|
|
8 |
|
9 |
from datasets import load_dataset
|
10 |
|
11 |
-
ds = load_dataset("Circularmachines/
|
12 |
|
13 |
|
14 |
-
gridsize=
|
15 |
-
n_patches=
|
16 |
|
17 |
patch_size=32
|
18 |
|
@@ -101,7 +101,7 @@ col1, col2 = st.columns([5,1])
|
|
101 |
|
102 |
with col1:
|
103 |
|
104 |
-
current_image=ds[st.session_state["img"]]['image']
|
105 |
draw = ImageDraw.Draw(current_image)
|
106 |
|
107 |
if st.session_state["draw"]:
|
|
|
8 |
|
9 |
from datasets import load_dataset
|
10 |
|
11 |
+
ds = load_dataset("Circularmachines/batch_indexing_machine_test", split="test")
|
12 |
|
13 |
|
14 |
+
gridsize=16
|
15 |
+
n_patches=164
|
16 |
|
17 |
patch_size=32
|
18 |
|
|
|
101 |
|
102 |
with col1:
|
103 |
|
104 |
+
current_image=ds[st.session_state["img"]]['image'].resize(size=(512,512))
|
105 |
draw = ImageDraw.Draw(current_image)
|
106 |
|
107 |
if st.session_state["draw"]:
|
keep_bool.npy
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bddfd3a9069231793484d8d34dc86c3ce0580e066c4a0a5deb13342367a2eb2c
|
3 |
+
size 384
|
pred.npy
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:231b9314c7c5ee2f00b6440286684fc1d2fba281608e911f5c13058babc1d337
|
3 |
+
size 33587328
|
pred_all.npy
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a1db98bf0ab53d0df33f0fc5032fe20041cfa846bdfeff889a232f489ea68e80
|
3 |
+
size 52428928
|
random.npy
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93a81f2fd2a5560d78a3ca8133781c1597fb918d5c75e6b4bf47e0add20ba6b0
|
3 |
+
size 288
|