mirror of
https://github.com/wassname/DeepRL.git
synced 2026-10-08 11:39:05 +08:00
Use uuid4
This commit is contained in:
1 parent
94adf0e9a1
commit
c6b694ac86
1 file changed
+1
-1
+1
-1
@@ -19,7 +19,7 @@ class BaseTask:
|
||||
if log_dir is None:
|
||||
return env
|
||||
mkdir(log_dir)
|
||||
return Monitor(env, '%s/%s' % (log_dir, uuid.uuid1()))
|
||||
return Monitor(env, '%s/%s' % (log_dir, uuid.uuid4()))
|
||||
|
||||
def reset(self):
|
||||
return self.env.reset()
|
||||
|
||||
Reference in new issue
Block a user