-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
program.py #68
Comments
可否提供下报这个错的命令 |
python train.py -c configs/det/det_mv3_db.yml -o Global.use_gpu = True |
请问您遇到过同样的问题吗 |
尝试去掉“=”两端空格的空格?
|
去掉之后报这个错: |
请确认您的机器是否支持GPU,如果支持的话请提供一下机器的环境,包括:GPU型号,cudnn和cuda版本 |
有gpu cuda10.2d |
TITAN Xp |
参考安装说明:
|
Original Error is: No places for execution. |
如果确保了你的cuda没问题,卸载paddle重新装一下吧,安装命令使用
|
ERROR: Could not find a version that satisfies the requirement paddlepaddle-gpu==1.7.2.post107 (from versions: none) |
装的是这个:python -m pip install paddlepaddle-gpu==1.8.0.post107 -i https://mirror.baidu.com/pypi/simple |
请问你是在docker里装的吗? |
是的 |
可能是nccl没有正确安装和安装的版本不对,请参考Paddle安装文档 https://www.paddlepaddle.org.cn/install/quick 和NCCL安装文档 https://developer.nvidia.com/nccl 正确安装NCCL。 |
建议用paddle1.7 ,目前PaddleOCR还不支持Paddle1.8 , 顺便问下,你用的是我们的提供的docker吗 |
https://hub.docker.com/r/paddlepaddle/paddle/tags/ 是访问这个 然后docker pull paddlepaddle/paddle:latest |
换install.md里提到的docker试一下:
这个docker比latest好用 |
可是不是root用户,不能使用sudo命令 |
非root用户需要sudo吧,root用户不需要加sudo了 |
用不了这条命令,只能是写dockerfile |
那你直接 docker pull hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda9.0-cudnn7-dev 可以拉下来吗 |
这个可以,这个拉下来可以直接用吗 |
当然可以啊,这个也是在https://hub.docker.com/r/paddlepaddle/paddle/tags/ 里的 |
是不用再写dockerfile,加requirments.txt了吧 |
不用了 |
安装了上述镜像之后还是,
Original Error is: No places for execution. |
Traceback (most recent call last):
File "train.py", line 112, in
FLAGS = parser.parse_args()
File "/paddle/paddle/program.py", line 49, in parse_args
args.opt = self._parse_opt(args.opt)
File "/paddle/paddle/program.py", line 58, in _parse_opt
k, v = s.split('=')
ValueError: need more than 1 value to unpack
The text was updated successfully, but these errors were encountered: