Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

Link Caffe with OpenCV

velvia
Beginner
731 Views

Hi,

Would it be possible to compile Caffe linked with OpenCV so the command

compute_image_mean -backend=lmdb train_lmdb mean.binaryproto

works. So far, I get:

F0507 17:16:31.466557 33233 compute_image_mean.cpp:162] This tool requires OpenCV; compile with USE_OPENCV.
*** Check failure stack trace: ***
    @     0x7f4dfc99f9ed  google::LogMessage::Fail()
    @     0x7f4dfc9a18af  google::LogMessage::SendToLog()
    @     0x7f4dfc99f583  google::LogMessage::Flush()
    @     0x7f4dfc9a21ce  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f4e046f4e1a  main
    @     0x7f4df95d9b35  __libc_start_main
    @     0x7f4e046f4c79  (unknown)
Aborted (core dumped)

 

Thanks.

0 Kudos
2 Replies
Christophe_H_Intel2
731 Views

Hi Velvia,

Starting with Intel Python 2018 Beta, Caffe is linked with OpenCV.  You can obtain the beta version by following the instructions in this forum post: https://software.intel.com/en-us/forums/intel-distribution-for-python/topic/731303.

This functionality will also be available in 2017 Update 3, which should be released soon.

Thanks,

Chris 

0 Kudos
velvia
Beginner
731 Views

Thanks for your reply

0 Kudos
Reply