Skip to content

Commit ee096e4

Browse files
authored
Update run-bench.py
1 parent c3d9754 commit ee096e4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

run-bench.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import sys
44
import os
5-
import subprocess
6-
75

86
models = [
97
# 'VGG11',
@@ -18,20 +16,18 @@
1816

1917
groups = [
2018
# 1,
21-
# 2,
22-
# 4,
23-
8
19+
2,
20+
# 4
2421
]
2522

2623
overlaps = [
2724
# 0.25,
2825
0.50,
2926
# 0.75
3027
]
28+
3129
for model in models:
3230
for grp in groups:
3331
for oap in overlaps:
3432
print("=> {}, g: {}, o: {}".format(model, grp, oap))
3533
os.system("python main.py --model {} --groups {} --overlap {}".format(model, grp, oap))
36-
# p = subprocess.Popen("python main.py --model {} --groups {} --overlap {}".format(model, grp, oap), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[0].decode('utf-8')
37-
# print("time: {}".format(p.split("\n")[-2].split(':')[-1]))

0 commit comments

Comments
 (0)