From 61ed683d1cf6ecce50796dd57bba9df0053f7503 Mon Sep 17 00:00:00 2001 From: harubaru Date: Sat, 15 Oct 2022 11:40:53 -0700 Subject: [PATCH] ensure wandb run doesnt get overwritten --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 3774110..d4793cf 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,4 @@ +import uuid import argparse, os, sys, datetime, glob, importlib, csv import numpy as np import time @@ -547,7 +548,7 @@ if __name__ == "__main__": "name": nowname, "save_dir": logdir, "offline": opt.debug, - "id": nowname, + "id": str(uuid.uuid1()), } }, "testtube": {