Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenzhang authored and stephenzhang committed Aug 24, 2020
1 parent 2222226 commit 5f48f48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 39 deletions.
30 changes: 0 additions & 30 deletions data_distribution.py

This file was deleted.

17 changes: 8 additions & 9 deletions make_table_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@

for backfil in [0, 1]:
for model, workload, batch_job_slice in zip(models, workloads, batches):
if 1 or workload == "data/SDSC-SP2-1998-4.2-cln.swf":
print("*"*20+model+"_seed_"+str(seed)+"*"*20)
sub_file = os.listdir(dire+"/"+model)[-1]
command = "--rlmodel {6}{0}/{8}/ --seed {1} --len {2} --backfil {3} --score_type {4} --batch_job_slice {5} --workload {7} --iter {9}"\
.format(model, seed, len, backfil, score_type, batch_job_slice, dire, workload, sub_file, iter)
print(command)
s = os.popen("python"+ " -W ignore compare-make-table.py " + command).read()
print("*"*20+model+"_seed_"+str(seed)+"*"*20)
sub_file = os.listdir(dire+"/"+model)[-1]
command = "--rlmodel {6}{0}/{8}/ --seed {1} --len {2} --backfil {3} --score_type {4} --batch_job_slice {5} --workload {7} --iter {9}"\
.format(model, seed, len, backfil, score_type, batch_job_slice, dire, workload, sub_file, iter)
print(command)
s = os.popen("python"+ " -W ignore compare-make-table.py " + command).read()

print(s)
print("*"*50)
print(s)
print("*"*50)

0 comments on commit 5f48f48

Please sign in to comment.