Hi all,
I have to train 7 classes with imagenet. However, I always get an error called "NoneType" object has no attribute 'shape'. I put all the images in the folder called "image" and all the annotations in the folder called "annotations". The folder "image" is inside the folder "annotations". In each .xml, I changed folder field into "image" and filename into "image ID. jpg". When I call "flow --model cfg/tiny-yolo-voc-7c.cfg --load bin/tiny-yolo-voc.weights --train --annotation annotations/ --dataset annotations/image" , it doesn't work. I have been trying methods discussed in the group. However, it still doesn't work. Is there any insights into it? Thanks a lot!
Hi all, I have to train 7 classes with imagenet. However, I always get an error called "NoneType" object has no attribute 'shape'. I put all the images in the folder called "image" and all the annotations in the folder called "annotations". The folder "image" is inside the folder "annotations". In each .xml, I changed folder field into "image" and filename into "image ID. jpg". When I call "flow --model cfg/tiny-yolo-voc-7c.cfg --load bin/tiny-yolo-voc.weights --train --annotation annotations/ --dataset annotations/image" , it doesn't work. I have been trying methods discussed in the group. However, it still doesn't work. Is there any insights into it? Thanks a lot!