mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00
dldt-model-optimizer: add recipe
Model Optimizer is a cross-platform command-line tool that facilitates the transition between the training and deployment environment, performs static model analysis, and adjusts deep learning models for optimal execution on end-point target devices. For more details, see: https://software.intel.com/en-us/openvino-toolkit/deep-learning-cv Since the recipe requires bits from meta-python, move this to the dynamic layers section and add meta-python to BBFILES_DYNAMIC. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
70d414ce56
commit
7aef51c962
|
@ -23,11 +23,10 @@ LAYERSERIES_COMPAT_intel = "thud warrior"
|
||||||
BBFILES_DYNAMIC += " \
|
BBFILES_DYNAMIC += " \
|
||||||
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \
|
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \
|
||||||
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \
|
clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \
|
||||||
"
|
|
||||||
|
|
||||||
BBFILES_DYNAMIC += " \
|
|
||||||
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
|
||||||
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
|
||||||
|
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
|
||||||
|
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bbappend \
|
||||||
"
|
"
|
||||||
|
|
||||||
require ${LAYERDIR}/conf/include/maintainers.inc
|
require ${LAYERDIR}/conf/include/maintainers.inc
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
SUMMARY = "OpenVINO Model Optimzer"
|
||||||
|
DESCRIPTION = "Model Optimizer is a cross-platform command-line tool that \
|
||||||
|
facilitates the transition between the training and deployment \
|
||||||
|
environment, performs static model analysis, and adjusts deep \
|
||||||
|
learning models for optimal execution on end-point target devices."
|
||||||
|
HOMEPAGE = "https://01.org/openvinotoolkit"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/opencv/dldt.git;protocol=git;branch=2019 \
|
||||||
|
"
|
||||||
|
SRCREV = "ba6e22b1b5ee4cbefcc30e8d9493cddb0bb3dfdf"
|
||||||
|
|
||||||
|
LICENSE = "Apache-2.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
mkdir -p ${D}${datadir}/openvino/model-optimizer
|
||||||
|
cp -r model-optimizer ${D}${datadir}/openvino/
|
||||||
|
}
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += " \
|
||||||
|
python3-numpy \
|
||||||
|
python3-protobuf \
|
||||||
|
python3-defusedxml \
|
||||||
|
python3-networkx \
|
||||||
|
python3-test-generator \
|
||||||
|
bash \
|
||||||
|
"
|
||||||
|
|
||||||
|
FILES_${PN} += "${datadir}/openvino"
|
Loading…
Reference in New Issue
Block a user