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

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'

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

时间女神
已解决
5# 回复于2021-12
places would be ommited when DataLoader is not iterable 'NoneType' object has no attribute 'startswith' 是数据集定义错误了,检查数据变量的命名,格式是否正确
展开
0
收藏
回复
全部评论(4)
时间顺序
FutureSI
#2 回复于2021-10

这是读取checkpoint的权重时报错了,看上去是存储在云端权重的地址解析错误

0
回复
D
DOWING
#3 回复于2021-10
这是读取checkpoint的权重时报错了,看上去是存储在云端权重的地址解析错误

看上去好复杂,要怎么解决啊

0
回复
FutureSI
#4 回复于2021-11

从报错上看,是执行tool/eval.py 脚本报的错,可能是设置的权重参数地址出错了

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

places would be ommited when DataLoader is not iterable

'NoneType' object has no attribute 'startswith'

是数据集定义错误了,检查数据变量的命名,格式是否正确

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