From f937d70b001cf06211e532e56d1d2a78b4e93e19 Mon Sep 17 00:00:00 2001 From: akashk4 <akashk4@illinois.edu> Date: Sat, 30 Jan 2021 20:57:10 +0000 Subject: [PATCH] Add commands to remove stray files in the run_dnn script --- hpvm/test/dnn_benchmarks/scripts/run_dnn.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hpvm/test/dnn_benchmarks/scripts/run_dnn.py b/hpvm/test/dnn_benchmarks/scripts/run_dnn.py index ec92019bcc..2eed6739a7 100644 --- a/hpvm/test/dnn_benchmarks/scripts/run_dnn.py +++ b/hpvm/test/dnn_benchmarks/scripts/run_dnn.py @@ -126,6 +126,9 @@ def predictive_tuning_exec(dnn_name): print("pred_dir: " + pred_dir) print("config_file: " + config_file) print("temp_file: " + temp_file) + exec_command = "rm " + temp_file + " " + accuracy_file + " " + profile_file + " " + pred_dir + "profile*" + print(exec_command) + os.system(exec_command) config_num = 1 max_configs = max_num_configs(config_file) baseline_time = 0 -- GitLab