<div dir="ltr">i'd like to know if the recipe named 'tensorrt' in the layer
'meta-tegra' equivalent to tensorflow? Because i need to install
tensorflow packages on to my yocto image and there are no recipes for it<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Rajath C S,<br>9964182112,<br></div></div>Bangalore - 560060<br></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 22, 2018 at 1:16 PM, Rajath C S <span dir="ltr"><<a href="mailto:rajathcs.1996@gmail.com" target="_blank">rajathcs.1996@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Vincent,<br><br><div><br></div>where should i be adding this line i mean in which file?<span class=""><br>DEPENDS = "python3-numpy python3-dev python3-pip python3-wheel"<br><br></span></div>Thanks<br></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-8029520054667909826gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Rajath C S,<br>9964182112,<br></div></div>Bangalore - 560060<br></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Wed, Mar 21, 2018 at 3:24 PM, Vincent Prince <span dir="ltr"><<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>There is no support for those yet, so you need to create recipes for them. </div><div><br></div><div>You can use devtool workflow to do so, i suggest you to look at this video </div><div><a href="https://www.youtube.com/watch?v=CiD7rB35CRE" target="_blank">https://www.youtube.com/watch?<wbr>v=CiD7rB35CRE</a></div><div><br></div><div>Every recipes are quite different and reflects how you build them by hand. <br></div><div><br></div><div>For tensorflow, first step will be </div><div>devtool add tensorflow <a href="https://github.com/tensorflow/tensorflow" target="_blank">https://github.com/tensorflow/<wbr>tensorflow</a><br></div><div><br></div><div>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Then, you need to look at <a href="https://www.tensorflow.org/install/install_sources" target="_blank">https://www.tensorflow.org/<wbr>install/install_sources</a>, and translate it into yocto recipe.</span>
<br></div><div>For instance, it says it depends on several python packages, so in recipe you will probably need to add those with:</div><div><br></div>DEPENDS = "python3-numpy python3-dev python3-pip python3-wheel"<div><br></div><div>You can look at those url too:</div><div><a href="https://github.com/snipsco/tensorflow-build" target="_blank">https://github.com/snipsco/ten<wbr>sorflow-build</a></div><div><a href="https://github.com/madisongh/meta-tegra/blob/master/recipes-devtools/gie/tensorrt_2.1-20170614-1-1.bb" target="_blank">https://github.com/madisongh/m<wbr>eta-tegra/blob/master/recipes-<wbr>devtools/gie/tensorrt_2.1-2017<wbr>0614-1-1.bb</a></div><div><a href="https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bazel-discuss/TmBDKmoEvlI/GXng74b_AAAJ" target="_blank">https://groups.google.com/foru<wbr>m/?utm_medium=email&utm_source<wbr>=footer#!msg/bazel-discuss/TmB<wbr>DKmoEvlI/GXng74b_AAAJ</a><br></div><div><a href="https://stackoverflow.com/questions/36545388/use-pip-install-command-in-recipes-yocto-project" target="_blank">https://stackoverflow.com/ques<wbr>tions/36545388/use-pip-install<wbr>-command-in-recipes-yocto-proj<wbr>ect</a><br></div><div><br></div><div>It's a hard job, and as seems new to Yocto, I suggest you to hire some guy, or at least try to create easier recipes before. </div><div><br></div><div>Cheers<br><div><br></div><div><br></div></div><div><div class="m_-8029520054667909826h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-03-20 5:37 GMT+01:00 Rajath C S <span dir="ltr"><<a href="mailto:rajathcs.1996@gmail.com" target="_blank">rajathcs.1996@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Dear Vincent,<br><br></div><div>I am working on yocto from few weeks and my current goal is to include few set of packages. <br></div><div>Initially
i thought i will download the repo of those packages and compile them
and copy the compiled binaries to yocto image, apparently which i dint
know how exactly to be done. So, i followed the method of recipe &
layers.<br><br></div><div>Now i need to include <b>'keras'</b> and<b> 'tensorflow'</b>
packages in Poky, i am not able to find any source that helps me do it
and i dont know how to do it from source. Could you please guide me
through this (either the recipe way or compiling from source way is
fine) <br><br></div><div>Thank You,<br><br></div><div><div><div><div class="m_-8029520054667909826m_420428235224155962m_-7525334218778509529m_-201027261988464234m_4005454784460524205gmail-m_-2512251676014381749gmail-m_6400405892118559791gmail_signature"><div dir="ltr"><div><div>Rajath C S,<br>9964182112,<br></div></div>Bangalore - 560060</div></div></div></div></div><div><div class="m_-8029520054667909826m_420428235224155962m_-7525334218778509529m_-201027261988464234m_4005454784460524205gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br></div></div></div>
</div>
</div><br></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>