eldar/deepcut-cnn

Error in ubuntu while testing my own image

zhanglaplace opened this issue · 4 comments

Hi, I build the caffe successful and add the pose directory to the caffe dir,
when I test the image.png ,everything is ok.
but when i choose some pictures of mine,
it shows INFO:estimate_pose:Done!,and then
IndexError: boolean index did not match indexed array along dimension 0; dimension is 0 but corresponding boolean dimension is 16
how can i solve it .

eldar commented

Can you perhaps share your image, so I could reproduce your problem?

@eldar Hello, I just have the same problem with him.
And I used the Market-1501 and cuhk dataset. So, should I do some special treatments before testing?

Hi, I am currently having the same problem on this image:
http://imgur.com/a/drPiZ

Does somebody know the issue?

@zhanglaplace @eldar @callemein This demo assumes you use RGB pictures, but I find many pictures have four channels in my dataset. So try remove the alpha channel first.
And when you use some low-resolution images, add some codes to make sure that '_npcircle()' does not try to draw a circle out of the image.