摘要: 如果之前使用的训练命令是 python train.py --device gpu --save_dir ./checkpoints 添加 -m paddle.distributed.launch 就能使用分布式训练,python -m paddle.distributed.launch train 阅读全文
posted @ 2021-10-19 18:59 Rogn 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: 做题一时爽,补题... 2042. 检查句子中的数字是否递增 签到题 class Solution: mymax = -1 def areNumbersAscending(self, s: str) -> bool: x_list = s.split() for x in x_list: if x[ 阅读全文
posted @ 2021-10-19 16:33 Rogn 阅读(88) 评论(0) 推荐(0) 编辑