未验证 提交 14063829 编写于 作者: L littletomatodonkey 提交者: GitHub

add random seed in train (#358)

上级 7bb8f1c2
......@@ -52,6 +52,8 @@ def parse_args():
def main(args):
paddle.seed(123)
config = get_config(args.config, overrides=args.override, show=True)
# assign the place
use_gpu = config.get("use_gpu", True)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册