多卡训练模型如何转为静态图? #70477
Unanswered
chengyi192
asked this question in
Q&A
多卡训练模型如何转为静态图?
#70477
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
对于单卡训练,我使用以下代码将其转为静态图。运行正常。
但对于多卡训练,python3 -m paddle.distributed.launch --gpus '0,1,2,3,4,5,6,7' train-test8.py -c det_r50_vd_db.yml
转静态图会报错。不转静态图的话,动态图运行没有问题:
请问有人知道如何将多卡训练如何转为静态图吗?
Beta Was this translation helpful? Give feedback.
All reactions