wandb
This commit is contained in:
parent
d516ac9888
commit
ee2efa6da9
@ -14,7 +14,7 @@ d = pdb.set_trace
|
||||
|
||||
REQUIRE_CONFIG_CONSUMED = False
|
||||
WANDB_START_METHOD = 'fork'
|
||||
REINIT = False
|
||||
REINIT = True
|
||||
|
||||
Parallelization_Primitive = Thread # Process
|
||||
|
||||
@ -90,9 +90,10 @@ class Slate():
|
||||
|
||||
def expand_vars(self, string, **kwargs):
|
||||
if isinstance(string, str):
|
||||
rand = int(random.random()*99999999)
|
||||
if string == '{rand}':
|
||||
return int(random.random()*99999999)
|
||||
return string.format(**kwargs, rand=int(random.random()*99999999))
|
||||
return rand
|
||||
return string.format(**kwargs, rand=rand)
|
||||
return string
|
||||
|
||||
def apply_nested(self, d, f):
|
||||
|
Loading…
Reference in New Issue
Block a user