mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
[Fix] Correctly record random seed in log (#1152)
This commit is contained in:
parent
15298f3621
commit
4bc2fe1aae
@ -2306,6 +2306,7 @@ class Runner:
|
||||
runtime_env = OrderedDict()
|
||||
runtime_env.update(env_cfg)
|
||||
runtime_env.update(self._randomness_cfg)
|
||||
runtime_env['seed'] = self._seed
|
||||
runtime_env['Distributed launcher'] = self._launcher
|
||||
runtime_env['Distributed training'] = self._distributed
|
||||
runtime_env['GPU number'] = self._world_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user