PaddlePaddle/PaddleOCR

训练报错

wzh159 opened this issue · 3 comments

wzh159 commented

在官网训练模型报错
/home/aistudio/PaddleOCR
Traceback (most recent call last):
File "tools/train.py", line 205, in
config, device, logger, vdl_writer = program.preprocess(is_train=True)
File "/home/aistudio/PaddleOCR/tools/program.py", line 657, in preprocess
.dev_id) if use_gpu else 'cpu'
File "/home/aistudio/.data/webide/pip/lib/python3.7/site-packages/paddle/fluid/dygraph/parallel.py", line 208, in device_id
return self._device_id
AttributeError: 'ParallelEnv' object has no attribute '_device_id'

建议贴出训练命令,看样子是多卡训练没找到卡的设备id

建议根据下面的issue的提示继续排查:PaddlePaddle/Paddle#46377

该issue长时间未更新,暂将此issue关闭,如有需要可重新开启。