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'
请问这个是哪里出现问题了啊
是使用的什么出现的这个问题,你看一下这里说是属性不存在
我就是做目标检测的作业一,运行到底数第三步的时候出现这个情况
变量为空,检查数据类型
你的这个path变量为空。。。
四楼正解,如已解决请采纳