CSP icon indicating copy to clipboard operation
CSP copied to clipboard

get_batch_gt: 'NoneType' object has no attribute 'shape'

Open prolulu opened this issue 6 years ago • 6 comments

Epoch 1/150 get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape' get_batch_gt: 'NoneType' object has no attribute 'shape'

What 's wrong with me?

prolulu avatar Jun 06 '19 09:06 prolulu

@prolulu It seems the image path should be "data/cityperson/images" instead of "data/citypersons/images"

jhb86253817 avatar Jun 09 '19 10:06 jhb86253817

@prolulu It seems the image path should be "data/cityperson/images" instead of "data/citypersons/images"

In fact,before I ask this question I have set it to "cityperson"

prolulu avatar Jun 12 '19 01:06 prolulu

have you solved it?

zxinyang38 avatar Jul 17 '19 08:07 zxinyang38

@prolulu hello,can u tell me how to solve this problem

zxinyang38 avatar Jul 18 '19 01:07 zxinyang38

if you get this error, you don't have the dataset stored in the correct folder

dominikandreas avatar Aug 06 '19 11:08 dominikandreas

必须将数据集放在CSP项目的data/caltech文件夹下面,且数据集的格式要按照作者的格式,即caltech目录下的结构为 image,也可以自己查看https://github.com/liuwei16/CSP/blob/master/README.md。我这样弄完以后就可以训练了

SouleTraveler avatar Jan 02 '20 07:01 SouleTraveler