<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11478</bug_id>
          
          <creation_ts>2017-05-08 12:51:49 +0000</creation_ts>
          <short_desc>Move caffe from meta-refkit-extra to meta-refkit</short_desc>
          <delta_ts>2017-06-29 09:43:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>IoT Reference OS Kit</product>
          <component>intel-iot-refkit-profile-computer-vision</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ismo Puustinen">ismo.puustinen</reporter>
          <assigned_to name="Ismo Puustinen">ismo.puustinen</assigned_to>
          <cc>matti-pekka.sivosuo</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73113</commentid>
    <comment_count>0</comment_count>
    <who name="Ismo Puustinen">ismo.puustinen</who>
    <bug_when>2017-05-08 12:51:49 +0000</bug_when>
    <thetext>Make Caffe a first-class citizen in Refkit. Work with the recipes (Caffe + its dependencies) and make them nicer. Separate Caffe-based demos from Caffe itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73466</commentid>
    <comment_count>1</comment_count>
    <who name="Ismo Puustinen">ismo.puustinen</who>
    <bug_when>2017-05-24 11:28:26 +0000</bug_when>
    <thetext>One way forward might be to enable OpenCV DNN module. It can read Caffe models and implements a subset of Caffe layers.

http://docs.opencv.org/trunk/d5/de7/tutorial_dnn_googlenet.html
http://docs.opencv.org/3.1.0/d6/d0f/group__dnn.html

DNN module needs to be tried out in practice first and possibly benchmarked against real Caffe. If it works well enough, it might be enough to solve the Caffe classification issues for most of the users. Real Caffe could then be used only for complex or non-standard models and non-cv use cases, and might continue living in meta-refkit-extra.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73670</commentid>
    <comment_count>2</comment_count>
    <who name="Ismo Puustinen">ismo.puustinen</who>
    <bug_when>2017-06-05 08:15:52 +0000</bug_when>
    <thetext>DNN build fix is in meta-openembedded master-next now.

https://patchwork.openembedded.org/patch/140142/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74139</commentid>
    <comment_count>3</comment_count>
    <who name="Ismo Puustinen">ismo.puustinen</who>
    <bug_when>2017-06-14 12:02:01 +0000</bug_when>
    <thetext>PR for this feature: https://github.com/intel/intel-iot-refkit/pull/186</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74631</commentid>
    <comment_count>4</comment_count>
    <who name="Ismo Puustinen">ismo.puustinen</who>
    <bug_when>2017-06-29 09:43:04 +0000</bug_when>
    <thetext>The DNN module is now enabled and a test is added to Refkit. The test downloads an ImageNet Caffe model (the same used in the meta-refkit-extra Caffe demos) and uses it to classify an image without enabling meta-refkit-extra layer. In the future the caffe recipe could be changed to use the caffe-reference-bvlc recipe for downloading the test data.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>