1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-13 00:16:44 +00:00
This commit is contained in:
2020-05-01 17:52:19 +08:00
parent c27a880839
commit 83c1ef49ce
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ class MyHandler(BaseHTTPRequestHandler):
with open(config.train_data_path, 'r') as f:
q = deque(f, config.time_step - 1)
df = pd.read_csv(StringIO(''.join(q)),
header=['job', 'model', 'time', 'utilCPU', 'utilGPU', 'pre', 'main', 'post'])
usecols=['job', 'model', 'time', 'utilCPU', 'utilGPU', 'pre', 'main', 'post'])
print(df)
df = df.append(data, ignore_index=True)