@nuaawzl It works, thanks! But there is another error

> tools/im2rec.cc: In function ‘int main(int, char**)’:
tools/im2rec.cc:88:20: error: ‘CV_LOAD_IMAGE_COLOR’ was not declared in this 
scope
   int color_mode = CV_LOAD_IMAGE_COLOR;
                    ^
tools/im2rec.cc:90:22: error: ‘CV_INTER_LINEAR’ was not declared in this scope
   int inter_method = CV_INTER_LINEAR;
                      ^
tools/im2rec.cc:195:31: error: ‘CV_IMWRITE_PNG_COMPRESSION’ was not declared in 
this scope
       encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
                               ^
tools/im2rec.cc:199:31: error: ‘CV_IMWRITE_JPEG_QUALITY’ was not declared in 
this scope
       encode_params.push_back(CV_IMWRITE_JPEG_QUALITY);


[ Full content available at: 
https://github.com/apache/incubator-mxnet/issues/12120 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to