-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathscript.py
More file actions
22 lines (17 loc) · 949 Bytes
/
script.py
File metadata and controls
22 lines (17 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import os
def resultsFigure():
#for image_index in [4, 10, 22, 23, 50, 53, 56, 58, 59, 67, 71, 73, 74, 90, 100, 118, 134, 145]:
#for image_index in [4, 13, 17, 27, 34, 42, 56, 57, 65, 66, 66, 90, 91, 100, 103, 136]:
for image_index in [3, 10, 17, 34, 43, 50, 71, 80, 97, 119, 125, 159, 174, 175, 184, 215, 220, 224, 256, 252, 253, 257, 259, 267]:
command = 'python predict.py --methods=2 --numOutputPlanes=10 --useCache=1 --startIndex=' + str(int(image_index / 30) * 30) + ' --imageIndex=' + str(image_index) + ' --suffix=final'
os.system(command)
continue
return
def failureCases():
for image_index in [20, 21]:
command = 'python predict.py --methods=2 --numOutputPlanes=10 --useCache=1 --startIndex=' + str(int(image_index / 30) * 30) + ' --imageIndex=' + str(image_index) + ' --suffix=failure'
os.system(command)
continue
return
resultsFigure()
#failureCases()