PaddlePaddle / PaddleDetection

Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
Apache License 2.0
12.84k stars 2.9k forks source link

使用CPU训练,会报错。 #9221

Open mingren8888 opened 5 days ago

mingren8888 commented 5 days ago

问题确认 Search before asking

Bug组件 Bug Component

Training

Bug描述 Describe the Bug

再训练pyoloe_plus_crn_s_30e_voc.yml这个配置文件时,我把runtime.yaml中的use_gpu设为false后启动训练,输出报错,内容如下Error occurred: ======================= Modified FLAGS detected ======================= FLAGS(name='FLAGS_win_cuda_bin_dir', current_value='本人电脑的conda环境目录\lib\site-packages\paddle\..\nvidia', default_value='')

E1120 15:10:35.078271 25436 place.cc:332] Cannot use GPU because there is no GPU detected on your machine.

为什么use_gpu都设置成false了,place.cc还要使用GPU呢?

复现环境 Environment

Windows Paddle3.0 Detection2.7.1

Bug描述确认 Bug description confirmation

是否愿意提交PR? Are you willing to submit a PR?