get_batch_gt: 'NoneType' object has no attribute 'shape'
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 It seems the image path should be "data/cityperson/images" instead of "data/citypersons/images"
@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"
have you solved it?
@prolulu hello,can u tell me how to solve this problem
if you get this error, you don't have the dataset stored in the correct folder
必须将数据集放在CSP项目的data/caltech文件夹下面,且数据集的格式要按照作者的格式,即caltech目录下的结构为
,也可以自己查看https://github.com/liuwei16/CSP/blob/master/README.md。我这样弄完以后就可以训练了