CornerNet-Lite icon indicating copy to clipboard operation
CornerNet-Lite copied to clipboard

how to solve the issue "None type has attribute shape"

Open jiangkunkun1993 opened this issue 5 years ago • 4 comments

我是按照作者的目录放置的文件,代码也不会有错,但是运行的时候出现了“None type has attribute shape”后来同事提醒发现,应该把minival2014里面的图片全部复制然后放到trainval2014里面合并在一块。然后就训练成功跑通了。

jiangkunkun1993 avatar Jul 18 '19 09:07 jiangkunkun1993

make sure your image data dir is right in " CornerNet-Squeeze.json -->data_dir" and "dbs\coco.py"

sunshangyun avatar Oct 14 '19 03:10 sunshangyun

为什么我合并了还是这个错误。。。哭了

Sherry0815 avatar Dec 10 '19 03:12 Sherry0815

就是应该合并的,这个数据集的使用和faster-rcnn,你尝试将中间结果输出,比如将imagepath输出。一般出现这个错误是因为没有读到图片。

---Original--- From: "Sherry0815"<[email protected]> Date: Tue, Dec 10, 2019 11:22 AM To: "princeton-vl/CornerNet-Lite"<[email protected]>; Cc: "Comment"<[email protected]>;"zhiyingf"<[email protected]>; Subject: Re: [princeton-vl/CornerNet-Lite] how to solve the issue "None type has attribute shape" (#97)

为什么我合并了还是这个错误。。。哭了

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

zhiyingf avatar Dec 10 '19 14:12 zhiyingf

标签和图片有误

mdswyz avatar Dec 16 '19 08:12 mdswyz