BennoKrojer commited on
Commit
cd7c7ec
1 Parent(s): ec11b9a
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ hide = col2.button('Hide groundtruth image index')
27
  example = int()
28
  example_idx = int(col1.number_input('Sample an example from the validation set', value=0, min_value=0, max_value=len(descriptions)-1))
29
  img_set, idx, descr = descriptions[example_idx]
 
30
  images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]
31
  index = int(col2.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
32
 
 
27
  example = int()
28
  example_idx = int(col1.number_input('Sample an example from the validation set', value=0, min_value=0, max_value=len(descriptions)-1))
29
  img_set, idx, descr = descriptions[example_idx]
30
+ idx = int(idx)
31
  images = [prefix+'/'+img_set+'/'+i for i in set2ids[img_set]]
32
  index = int(col2.number_input('Image Index from 0 to 9', value=0, min_value=0, max_value=len(images)-1))
33