Open LittleMisss opened 6 years ago
Hi, you can fix this by building MXNet without openCV! OpenCV is not required for this code to work.
@LittleMisss Have you solved the problem? I meet the same error
I have not solved this problem.I choosed the CTD Net. @liangxi627
Excuse me. When I compiled the mxnet project, this error message appeared:
src/io/image_aug_default.cc:499:26: error: ‘CV_BGR2HLS’ was not declared in this scope cvtColor(res, res, CV_BGR2HLS); ^ src/io/image_det_aug_default.cc:561:32: error: ‘CV_HLS2BGR’ was not declared in this scope cv::cvtColor(res, res, CV_HLS2BGR); ^ src/io/image_aug_default.cc:519:26: error: ‘CV_HLS2BGR’ was not declared in this scope cvtColor(res, res, CV_HLS2BGR); ^ src/io/image_io.cc: In function ‘void mxnet::io::ImdecodeImpl(int, bool, void*, size_t, mxnet::NDArray*)’: src/io/image_io.cc:175:28: error: ‘CV_BGR2RGB’ was not declared in this scope cv::cvtColor(dst, dst, CV_BGR2RGB); ^ Makefile:443: recipe for target 'build/src/io/image_aug_default.o' failed make: *** [build/src/io/image_aug_default.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:443: recipe for target 'build/src/io/image_det_aug_default.o' failed make: *** [build/src/io/image_det_aug_default.o] Error 1 Makefile:443: recipe for target 'build/src/io/image_io.o' failed make: *** [build/src/io/image_io.o] Error 1
So,i want to know the Python and the opencv version information.and how i should fix this question. thanks!