首页 PaddleCV 帖子详情
目标检测作业一报错 已解决
收藏
快速回复
PaddleCV 其他目标检测 611 5
目标检测作业一报错 已解决
收藏
快速回复
PaddleCV 其他目标检测 611 5

2021-10-27 13:43:58,834-INFO: places would be ommited when DataLoader is not iterable
W1027 13:43:58.857717 3458 device_context.cc:252] Please NOTE: device: 0, CUDA Capability: 70, Driver API Version: 10.1, Runtime API Version: 9.0
W1027 13:43:58.863272 3458 device_context.cc:260] device: 0, cuDNN Version: 7.6.
Traceback (most recent call last):
File "tools/eval.py", line 180, in
main()
File "tools/eval.py", line 141, in main
checkpoint.load_params(exe, startup_prog, cfg.weights)
File "/home/aistudio/work/PaddleDetection/ppdet/utils/checkpoint.py", line 114, in load_params
if is_url(path):
File "/home/aistudio/work/PaddleDetection/ppdet/utils/checkpoint.py", line 48, in is_url
return path.startswith('http://') or path.startswith('https://')
AttributeError: 'NoneType' object has no attribute 'startswith'

请问这个是哪里出现问题了啊

时间女神
已解决
4# 回复于2021-12
变量为空,检查数据类型
0
收藏
回复
全部评论(5)
时间顺序
三岁
#2 回复于2021-10

是使用的什么出现的这个问题,你看一下这里说是属性不存在

0
回复
D
DOWING
#3 回复于2021-10
三岁 #2
是使用的什么出现的这个问题,你看一下这里说是属性不存在

我就是做目标检测的作业一,运行到底数第三步的时候出现这个情况

0
回复
时间女神
#4 回复于2021-12

变量为空,检查数据类型

0
回复
DeepGeGe
#5 回复于2021-12

你的这个path变量为空。。。

0
回复
李长安
#6 回复于2021-12

四楼正解,如已解决请采纳

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户