chore: change gpu status save folder
This commit is contained in:
parent
91db09b6c7
commit
a61372ee0f
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue