diff --git a/ppdet/engine/env.py b/ppdet/engine/env.py index cfeea08c98c081083033120c9d3fbb5c02efdd35..8d07e4b4acc42f2611f466c797eb183258bce404 100644 --- a/ppdet/engine/env.py +++ b/ppdet/engine/env.py @@ -43,5 +43,6 @@ def init_parallel_env(): def set_random_seed(seed): + paddle.seed(seed) random.seed(seed) np.random.seed(seed)