chore: change gpu status save folder

This commit is contained in:
wql 2024-09-04 16:24:15 +08:00
parent 91db09b6c7
commit a61372ee0f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def main():
all_processes_status = all_processes_status all_processes_status = all_processes_status
) )
formatted_time = time.strftime('%Y%m%d%H%M%S', time.localtime()) formatted_time = time.strftime('%Y%m%d%H%M%S', time.localtime())
with open(f"./results/gpu_status_{formatted_time}.json", "a", encoding="utf-8") as f: with open(f"./results/gpu_status/gpu_status_{formatted_time}.json", "a", encoding="utf-8") as f:
f.write(json.dumps(logs) + "\n") f.write(json.dumps(logs) + "\n")
print(logs) print(logs)