WeiTang114 / MVCNN-TensorFlow

An Multi-View CNN (MVCNN) implementation with TensorFlow.
MIT License
120 stars 67 forks source link

OpenCV assertion failed, ssize.area()>0 in resize #4

Closed ttyang1018 closed 7 years ago

ttyang1018 commented 7 years ago

Hi there,

I tried to run the example. My environment is ubuntu 16.04, and OpenCV 2.4.10

But I came into the following assertion failed

image

Any suggestion?

WeiTang114 commented 7 years ago

Could you check if the file exists? I met this problem once because the file was not there and cv2.imread() returned nothing.

ttyang1018 commented 7 years ago

Do you mean the file alexnet_imagenet.npy?

It's located in the same directory of train.py.

Could I know the version of your opencv? I try to run the same configuration as yours.

WeiTang114 commented 7 years ago

No, I mean the image file of the view it is reading. that message happens to me mostly because the image path is wrong and imread returns None.

ttyang1018 commented 7 years ago

My bad... I neglected to download the modelnet40...