Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:kubic:ei-demo
open_model_zoo
open_model_zoo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File open_model_zoo.spec of Package open_model_zoo
# # spec file for package open_model_zoo # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: open_model_zoo Version: 2020.1 Release: 0 Summary: Open Model Zoo repository - OpenVINO™ Toolkit License: Apache-2.0 AND BSD-3-Clause URL: https://github.com/opencv/open_model_zoo Source0: open_model_zoo-%{version}.tar.gz Patch0: no-Werror.patch Patch1: use-external-gflags.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: opencv-devel BuildRequires: dldt-devel BuildRequires: gflags-devel Requires: python3-pyaml Requires: python3-requests %description This repository includes optimized deep learning models and a set of tools and demos to expedite development of high-performance deep learning inference applications. %package demo Summary: Demo examples %description demo This packages contains the C++ demo examples %prep %setup -q %patch0 -p0 %patch1 -p0 %build pushd demos %cmake %cmake_build popd # Fix interpreter path sed -i -e 's|/usr/bin/env python3|%{_bindir}/python3|g' tools/downloader/*.py # Cleanup files rm tools/accuracy_checker/.pylintrc %install pushd demos mkdir -p %{buildroot}%{_bindir} for i in `/bin/ls | grep demo | grep -v demos` ; do mkdir -p docu/$i cp -a $i/models.lst docu/$i/ ||: cp -a $i/README.md docu/$i/ %ifarch aarch64 cp -a build/aarch64/RelWithDebInfo/$i %{buildroot}%{_bindir}/ %else cp -a build/intel64/RelWithDebInfo/$i %{buildroot}%{_bindir}/ %endif done popd mkdir -p %{buildroot}%{_datadir}/open_model_zoo cp -ar models %{buildroot}%{_datadir}/open_model_zoo/ cp -ar tools %{buildroot}%{_datadir}/open_model_zoo/ mkdir -p %{buildroot}%{_bindir} ln -s %{_datadir}/open_model_zoo/tools/downloader/downloader.py %{buildroot}%{_bindir}/model-downloader ln -s %{_datadir}/open_model_zoo/tools/downloader/converter.py %{buildroot}%{_bindir}/model-converter ln -s %{_datadir}/open_model_zoo/tools/downloader/info_dumper.py %{buildroot}%{_bindir}/model-info-dumper #cleanup rm %{buildroot}/usr/share/open_model_zoo/tools/accuracy_checker/.yamllint chmod 644 %{buildroot}/usr/share/open_model_zoo/tools/accuracy_checker/configs/brain-tumor-segmentation-0002.yml %fdupes %{buildroot}%{_datadir} %files %license LICENSE %doc README.md %{_bindir}/model-converter %{_bindir}/model-downloader %{_bindir}/model-info-dumper %dir %{_datadir}/open_model_zoo %dir %{_datadir}/open_model_zoo/models %dir %{_datadir}/open_model_zoo/tools %{_datadir}/open_model_zoo/models/intel/ %{_datadir}/open_model_zoo/models/public/ %{_datadir}/open_model_zoo/tools/accuracy_checker/ %{_datadir}/open_model_zoo/tools/downloader %files demo %license LICENSE %doc demos/docu/* %{_bindir}/*demo* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor