Circularmachines commited on
Commit
86efe2e
1 Parent(s): 2814195
Files changed (5) hide show
  1. app.py +4 -4
  2. keep_bool.npy +2 -2
  3. pred.npy +2 -2
  4. pred_all.npy +2 -2
  5. 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/batch_indexing_machine_100_small_imgs", split="train")
12
 
13
 
14
- gridsize=18
15
- n_patches=152
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']#.resize(size=(384,384))
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:9852d311a73d1faa65db38a67bfcf63d4bdb7f4b9909a8ffd84b3b74eb2bf758
3
- size 452
 
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:849568826ec5672d471833b22b78fc21fb197bcd825bb23540d403c97331a300
3
- size 7782528
 
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:03cb2e6a4b5f192cb4f21d96ef9711cd560fea7175e16cffa9c11a06496dd181
3
- size 16588928
 
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