Circularmachines
commited on
Commit
•
ae7958c
1
Parent(s):
10a02f1
app.py updates
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ ds = load_dataset("Circularmachines/batch_indexing_machine_100_small_imgs", spli
|
|
11 |
|
12 |
|
13 |
pred=np.load('pred.npy')
|
|
|
14 |
keep_bool=np.load('keep_bool.npy')
|
15 |
|
16 |
|
@@ -43,7 +44,7 @@ def find():
|
|
43 |
point=(point[0]//16,point[1]//16)
|
44 |
#point=point[0]*36+point[1]
|
45 |
st.write(point)
|
46 |
-
st.write(
|
47 |
|
48 |
|
49 |
|
|
|
11 |
|
12 |
|
13 |
pred=np.load('pred.npy')
|
14 |
+
pred_all=np.load('pred_all.npy')
|
15 |
keep_bool=np.load('keep_bool.npy')
|
16 |
|
17 |
|
|
|
44 |
point=(point[0]//16,point[1]//16)
|
45 |
#point=point[0]*36+point[1]
|
46 |
st.write(point)
|
47 |
+
st.write(pred_all[st.session_state["img"],point[0]*36+point[1]])
|
48 |
|
49 |
|
50 |
|