Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadImageToCVMat strange error #3166

Closed
swamiviv opened this issue Oct 7, 2015 · 6 comments
Closed

ReadImageToCVMat strange error #3166

swamiviv opened this issue Oct 7, 2015 · 6 comments

Comments

@swamiviv
Copy link

swamiviv commented Oct 7, 2015

I am trying to train a deep network on a lot of data stored in a cluster. I have been training several networks successfully over the past weeks and suddenly now I get the following error:

E1007 17:11:25.214215   922 io.cpp:81] Could not open or find file /data/1285162/174_t6_06017.jpg
F1007 17:11:25.214344   922 image_data_layer.cpp:162] Check failed: cv_img.data Could not load /data/174_t6_06017.jpg

I had checked the following already:

** The file exists and is not corrupted
** I can read/display the file using a stand alone opencv code with imread (the same that caffe uses).

I am puzzled by this. Could anyone get what is happening here ? If it helps, I am using ImageDatalayer to feed the input. I tried to create a lmdb database with all my data, the same thing occured there - the same error occured for some images when lmdb was created.

@stanstarks
Copy link

Is your data placed under '/' folder? or you mean 'data/1285162/174_t6_06017.jpg'?

@basuam
Copy link

basuam commented Nov 21, 2015

I have the same error, I posted it recently here....
#3367

Apparently is not possible to work with images... something changed in Caffe

@iridescent303
Copy link

I have met the same problem too.

@jpsquare
Copy link

Is the above issue caused due to a problem in the file holding the image urls?

@jpsquare
Copy link

Yes I resolved this issue by prepending the absolute path to the images in the file holding the image names. Thus the image urls could now be resolved by the opencv methods

@seanbell
Copy link

Closing, since this seems to be resolved, and related to installation/library problems and not caffe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants