Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练报错 #10200

Closed
wzh159 opened this issue Jun 18, 2023 · 3 comments
Closed

训练报错 #10200

wzh159 opened this issue Jun 18, 2023 · 3 comments
Assignees
Labels
expneeded need extra experiment to fix issue good first issue Good for newcomers status/close

Comments

@wzh159
Copy link

wzh159 commented Jun 18, 2023

在官网训练模型报错
/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'

@ToddBear ToddBear added expneeded need extra experiment to fix issue good first issue Good for newcomers labels Jun 30, 2023
@livingbody
Copy link
Contributor

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

@shiyutang
Copy link
Collaborator

shiyutang commented Jul 2, 2023

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

@UserWangZz
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expneeded need extra experiment to fix issue good first issue Good for newcomers status/close
Projects
None yet
Development

No branches or pull requests

6 participants