Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge OpenVINO toolkit 2021.3 content into master #2238

Merged
merged 943 commits into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
943 commits
Select commit Hold shift + click to select a range
747f341
AC: fix getting labels (#2066)
eaidova Feb 5, 2021
6f93fdb
add aclnet-int8 model
vladimir-dudnik Feb 7, 2021
73e274f
enable model in demo
vladimir-dudnik Feb 7, 2021
a84d4c7
AC: allow setting device config if device unknown (#2067)
eaidova Feb 8, 2021
ee20f20
security_barrier_camera: downgrade frameCounter to 32-bit
Wovchena Feb 8, 2021
e2e330a
Removed unused dependency
andreyanufr Feb 8, 2021
c6aec1a
model source link added
vladimir-dudnik Feb 8, 2021
338c037
Merge pull request #2071 from Wovchena/security_barrier_camera-downgr…
Feb 8, 2021
81adc07
Update demos/text_to_speech_demo/python/utils/text_preprocessing.py
a-a-egorovich Feb 8, 2021
3837a0f
Merge pull request #2072 from a-a-egorovich/aa/remove_unused_dependency
Feb 8, 2021
b33b4b2
AC: fix quantization for RNNT (#2073)
eaidova Feb 8, 2021
1198f4f
text-spotting-0004
Ilya-Krylov Feb 9, 2021
048046f
Update cases.py
Ilya-Krylov Feb 9, 2021
c6919bf
Update index.md
Ilya-Krylov Feb 9, 2021
8002dfa
Added NetVLAD model (#2021)
Feb 9, 2021
a949fbb
Aa/melgan forward tacotron att (#2024)
a-a-egorovich Feb 9, 2021
a7722ab
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
511ee98
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
5550980
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
f851234
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
e96ae9c
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
3d1a6e3
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
38e99d2
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
4cd5493
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
0b76543
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
c6242a9
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
124965d
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
264e444
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
ff06915
Update models/intel/text-spotting-0004/description/text-spotting-0004.md
Ilya-Krylov Feb 9, 2021
c71be99
add gflops/mparams
vladimir-dudnik Feb 9, 2021
46c4a4c
rm not relevant change
vladimir-dudnik Feb 9, 2021
5c710c7
AC: fix single image processing (#2080)
eaidova Feb 9, 2021
7706899
AC: fix identifier for bert emb (#2079)
eaidova Feb 9, 2021
5560385
AC: fix im2latex evaluator (#2081)
eaidova Feb 9, 2021
f1201d7
change converter output folder for model quantized in source framework
vladimir-dudnik Feb 9, 2021
ea4b43f
AC: Added groups of arguments for AC (#2077)
Feb 10, 2021
2b15fe6
Small fixes
anzhella-pankratova Feb 4, 2021
bf38602
Small fixes in place_recognition_demo
anzhella-pankratova Feb 10, 2021
483797b
AC: update input configuration validation (#2083)
eaidova Feb 10, 2021
c5b3561
Merge pull request #2075 from Ilya-Krylov/text-spotting-0004
Feb 10, 2021
1e524ff
AC: minor issues fixes (#2084)
eaidova Feb 10, 2021
a7ce782
Apply suggestions from review
anzhella-pankratova Feb 10, 2021
7930c0e
AC: update cocosnet evaluator for quantization (#2086)
eaidova Feb 11, 2021
6ee9aab
Merge pull request #2043 from anzhella-pankratova/cpp_demos
Feb 11, 2021
d308ad6
AC: adopt hit ratio representation to work with new identifier (#2087)
eaidova Feb 11, 2021
cb3d578
Move videowriter
anzhella-pankratova Feb 11, 2021
a53fc63
Merge pull request #2088 from anzhella-pankratova/py_demos
Feb 11, 2021
1c0064c
ci/prepare-documentation.py: add xml:id attributes to top-level sections
Feb 11, 2021
0594baf
AC: Added field for normalization arguments (#2085)
Feb 11, 2021
5effbc3
Merge pull request #2090 from IRDonch/doc-xml-id
Feb 11, 2021
c887a96
Merge pull request #2052 from ivikhrev/ssh-mxnet
Feb 11, 2021
7c4f4d3
Fix WMT converter (#2091)
Feb 12, 2021
146dcc4
Added demo code for ForwardTacotron+Melgan
andreyanufr Dec 10, 2020
e14fa6c
Fixed bug in MelGAN inference
andreyanufr Dec 17, 2020
9a684ca
Added extra sequence len for improving quality of generated audio
andreyanufr Dec 17, 2020
982bf2c
Fixed bug
andreyanufr Dec 17, 2020
2c7a142
Fixed splitting of input sequence
andreyanufr Dec 22, 2020
e28af20
Added support of ForwardTacotron with MultyHeadAttention
andreyanufr Dec 30, 2020
3ad242f
Added defaut width for melgan network
andreyanufr Jan 21, 2021
766e0bc
Updated README.md
andreyanufr Jan 27, 2021
5700596
Fixed PEP warnings
andreyanufr Jan 28, 2021
6c42012
removed unnecessary __init__
a-a-egorovich Feb 3, 2021
e68fa24
Splitted the logick of decoders
andreyanufr Feb 11, 2021
cb2c9e1
Changed argparse parameters checking
andreyanufr Feb 12, 2021
f3760c5
Removed redundant backslash
andreyanufr Feb 12, 2021
e43c82f
1) Changed main return code.
andreyanufr Feb 12, 2021
d8b3fb9
Merge pull request #2025 from a-a-egorovich/aa/demo_forward_tacotron_…
Feb 12, 2021
064fe26
add i3d-rgb model support to action recoginition demo
ivikhrev Feb 12, 2021
e2e9c56
Fixed number of arguments for predict method (#2092)
Feb 12, 2021
345845c
add model to test cases
ivikhrev Feb 12, 2021
a0b3f6d
add text recognition 0013 model (#2078)
Feb 12, 2021
d3644fe
fix code style
ivikhrev Feb 12, 2021
c813b59
deleted trailing whitespaces
ivikhrev Feb 12, 2021
f85062d
change model.precision
vladimir-dudnik Feb 13, 2021
4ed2f12
make pylint happy
vladimir-dudnik Feb 13, 2021
bffd8a1
Update tools/downloader/converter.py
vladimir-dudnik Feb 15, 2021
f0664ba
ci/prepare-documentation.py: remove the hardcoded task type list
Feb 3, 2021
34a47c6
human_pose_estimation/py: change output_limit checking
Wovchena Feb 15, 2021
7a4d9c7
ModelFaceBoxes: add a missing variable initializer
Feb 15, 2021
aa5b628
change arg parameter name
ivikhrev Feb 15, 2021
d9cc1b6
delete whitespaces
ivikhrev Feb 15, 2021
b19fe98
move checks to deserialize
vladimir-dudnik Feb 15, 2021
c2577e2
rm unnecessary import
vladimir-dudnik Feb 15, 2021
39d5782
fix typo in test cases
ivikhrev Feb 16, 2021
753a1b4
AC: support attention ocr model (#2102)
eaidova Feb 16, 2021
17b5e72
add nmt models for en-de pair (#2097)
bes-dev Feb 16, 2021
f89b9ea
Ik/text spotting 0004 ac (#2098)
Ilya-Krylov Feb 16, 2021
09b4369
Merge pull request #2100 from IRDonch/max-proposals-count-init
Feb 16, 2021
ae65a22
change retina to retinaface in args in python demo
ivikhrev Feb 16, 2021
51fbabe
Update tools/downloader/common.py
vladimir-dudnik Feb 16, 2021
a7ecdff
Update tools/downloader/common.py
vladimir-dudnik Feb 16, 2021
668c9ff
fix unused params, move aclnet classes.txt
vladimir-dudnik Feb 16, 2021
c2f01d7
Update models/public/aclnet-int8/aclnet-int8.md
vladimir-dudnik Feb 16, 2021
34a9319
renamed aclnet classes file
vladimir-dudnik Feb 16, 2021
84c223e
small fixes
ivikhrev Feb 16, 2021
e7f8aec
AC: add possibility to add out blob for DNA model (#2104)
eaidova Feb 16, 2021
8a0f923
add class id to model description (#2101)
vladimir-dudnik Feb 16, 2021
54e5e61
Merge pull request #2103 from ivikhrev/retinaface
Feb 16, 2021
4335bf3
Merge pull request #2070 from vladimir-dudnik/vd/aclnet-int8
Feb 16, 2021
c675a9b
update aclnet for OpenVINO 2021.3 release
vladimir-dudnik Feb 7, 2021
e663de5
update input layer name
vladimir-dudnik Feb 7, 2021
3260537
update input name
vladimir-dudnik Feb 7, 2021
24b22ab
add gflops/mparams
vladimir-dudnik Feb 9, 2021
bb34634
fix links to classes and polished some phrases
vladimir-dudnik Feb 16, 2021
0b107d3
Speech recognition demo: Refactor yoklm lib for n-gram LM inference i…
AlexeyKruglov Feb 16, 2021
8a5b445
Merge pull request #2069 from vladimir-dudnik/vd/aclnet-update-2021.3
Feb 16, 2021
c1d45cd
Merge pull request #2055 from IRDonch/rm-task-type-list
Feb 16, 2021
5db22a1
Human pose estimation models update (#2063)
druzhkov-paul Feb 16, 2021
a852e06
Add DeblurGAN-v2 model (#1911)
Feb 16, 2021
0630119
Custom evaluator with data feedback (#2099)
mzuevx Feb 17, 2021
9793ff6
update LPR model input according spec (#2109)
eaidova Feb 17, 2021
12f9250
Support for YOLO v4 model in py/object_detection_demo
eizamaliev Jan 22, 2021
7976489
Fix
eizamaliev Jan 25, 2021
d07d319
Update models.lst
eizamaliev Jan 29, 2021
501ae82
Fix
eizamaliev Feb 17, 2021
65cd19d
Merge remote-tracking branch 'upstream/develop' into unify-Pythons-hu…
Wovchena Feb 17, 2021
867d6b7
one more update (#2106)
Ilya-Krylov Feb 17, 2021
37381a8
Merge pull request #2002 from Chen-MingChang/DIoU_NMS-for-AC
Feb 17, 2021
0801bcf
apply review suggestions
ivikhrev Feb 17, 2021
804ef59
Added support for using MSCOCO dataset with VOC labels (#2105)
Feb 17, 2021
8dbb3d6
Add new person-vehicle-bike detection models (#2082)
GalyaZalesskaya Feb 17, 2021
4e2ff26
delete cast to np.float32 (#2112)
Feb 17, 2021
91efa7a
AC: restore adapter for old text spotting models (#2111)
eaidova Feb 17, 2021
8dcd2d9
AC requirements: remove parasail version restriction (#2114)
eaidova Feb 18, 2021
4c8853b
Fix computation of audio features in AC for mozilla-deepspeech-* that…
AlexeyKruglov Feb 19, 2021
8d5d2d3
Human Pose Estimation C++ demo fixes and update (#2110)
druzhkov-paul Feb 19, 2021
308a0e6
AC def: fix indention in machine translation datasets (#2118)
eaidova Feb 19, 2021
59913ec
Address reviewer's comments and fix a bug
AlexeyKruglov Feb 19, 2021
e725d3c
optional casting to float in grayscale (#2122)
Feb 19, 2021
8ef0a9d
add parameters to greedy decoder to make it able run tr-0013 (#2124)
Feb 19, 2021
d18e5df
speech_recognition_demo: avoid yaml.load
Feb 19, 2021
eb45e6c
demo updates
Feb 17, 2021
b719f7d
Merge pull request #2125 from IRDonch/safe-load
Feb 20, 2021
368d3eb
update info about text-rec-13 since model weights and arch changed (#…
Feb 20, 2021
8fe051c
Merge pull request #2107 from AlexeyKruglov/akr/refactor-yoklm
Feb 20, 2021
f12502c
Apply suggestions from code review
ivikhrev Feb 20, 2021
b0116c8
very last fix for text-spotting-0004 (#2120)
Ilya-Krylov Feb 20, 2021
515864b
changed to en-mean, add conversion to RGB
ivikhrev Feb 20, 2021
c696df1
Merge branch 'i3d-rgb-tf-demo' of https://github.com/ivikhrev/open_mo…
ivikhrev Feb 20, 2021
498a993
AC: Fix temporary file usage in MSCOCOorigBaseMetric (#2129)
Feb 20, 2021
873ee3a
formula_recognition_demo: fix temporary file handling
Feb 20, 2021
0f63e6e
demos: make sure input data lives during inference
Wovchena Feb 19, 2021
06bec9e
downloader: make sure to delete staging files in the download cache
Feb 20, 2021
092aa2b
human_pose_estimation: warn about chosen model size and image size mi…
Wovchena Feb 17, 2021
53ff95b
Merge remote-tracking branch 'upstream/develop' into unify-Pythons-hu…
Wovchena Feb 20, 2021
59e1d1e
micro changes for deblurring demo
Feb 19, 2021
af044bc
onwn -> own
Wovchena Feb 20, 2021
c6f907d
padding and resize
Feb 24, 2021
6ad9c24
Update demos/common/python/models/yolo.py
eizamaliev Feb 24, 2021
a74fd31
Update demos/common/python/models/yolo.py
eizamaliev Feb 24, 2021
5992f03
vloginov/update text rec 0013 (#2130)
Feb 24, 2021
8cba7d3
Merge pull request #2127 from Wovchena/demos-make-sure-input-data-liv…
Feb 24, 2021
0f53038
Merge pull request #2126 from akorobeinikov/deblurring_demo-python
Feb 24, 2021
13e58d4
Merge pull request #2094 from ivikhrev/i3d-rgb-tf-demo
Feb 24, 2021
69fabdd
add vocabulary files reference to formula-recognition models and demo
vladimir-dudnik Feb 18, 2021
2ad8fd3
fix non markdown links
vladimir-dudnik Feb 24, 2021
1da01f0
fix non markdown links
vladimir-dudnik Feb 23, 2021
304b23f
Update demos/gesture_recognition_demo/python/README.md
vladimir-dudnik Feb 24, 2021
01bc1bb
Update demos/gesture_recognition_demo/python/README.md
vladimir-dudnik Feb 24, 2021
81220c0
Update demos/text_to_speech_demo/python/README.md
vladimir-dudnik Feb 24, 2021
adebb62
Update demos/text_to_speech_demo/python/README.md
vladimir-dudnik Feb 24, 2021
5ad68f8
Update models/public/aclnet-int8/aclnet-int8.md
vladimir-dudnik Feb 24, 2021
dc43a6e
intendation
vladimir-dudnik Feb 24, 2021
2d2cab6
wrap file refs with dittos
vladimir-dudnik Feb 24, 2021
eeb6234
Merge pull request #2132 from vladimir-dudnik/vd/fix-not-md-links
Feb 24, 2021
ccd143c
Update yolo.py
eizamaliev Feb 25, 2021
6842737
Merge pull request #1992 from eizamaliev/yolov4_demo_support
Feb 25, 2021
7df7b30
Merge pull request #1971 from Wovchena/unify-Pythons-human_pose_estim…
Feb 25, 2021
3bce115
AC: fix typos in argument names
Feb 25, 2021
153ea1f
Merge pull request #2136 from IRDonch/ac-typos
Feb 25, 2021
2208e7f
Merge pull request #2131 from IRDonch/temp-fixes
Feb 25, 2021
554f957
tools/downloader: print signal name when a child processes is termina…
Feb 25, 2021
10bb0d5
Added age_recognition adapter (#2137)
Feb 25, 2021
ae928a6
Fix spelling errors
Feb 18, 2021
99e67f0
Merge pull request #2143 from IRDonch/codespell
Feb 26, 2021
2ab5c45
wrap non markdown refs with dittos
vladimir-dudnik Feb 26, 2021
3631f11
AC: Fix the spelling of "deterministic" (#2144)
Feb 26, 2021
a1c4eb8
Update demos/formula_recognition_demo/python/README.md
vladimir-dudnik Feb 26, 2021
78ed181
object_detection: remove put_highlighted_text()
Wovchena Feb 26, 2021
308433c
Merge pull request #2145 from Wovchena/object_detection/py-remove-put…
Feb 26, 2021
8b62f24
Fix yolo TF issue (#2147)
eizamaliev Feb 26, 2021
b328d4d
rephrase
vladimir-dudnik Feb 26, 2021
68da86a
cast float to int for cv::circle arg (#2152)
vladimir-dudnik Mar 1, 2021
dfec533
provide coco labels for different model variants (#2146)
eaidova Mar 1, 2021
acc0c37
fix CVS-16351 (#2141)
vladimir-dudnik Mar 1, 2021
c239b32
smart_classroom: allow running without dynamic batch (#2157)
Wovchena Mar 1, 2021
1b9de99
AC tests: skip affinity setting test (#2158)
eaidova Mar 1, 2021
9bf4fe7
object_detection_demo.py: add ctpn wrapper (#2076)
anzhella-pankratova Mar 1, 2021
9167b8b
add pointers to demo location at demos README.md (#2119)
vladimir-dudnik Mar 1, 2021
fe9b31c
demos: fix instance segmentation demo for yolact (#2162)
eaidova Mar 2, 2021
2a72d9d
AC: Added adapter for Ultra-Lightweight Face Detection models (#2155)
Mar 2, 2021
0ddbee4
AC fix batch in model (#2164)
eaidova Mar 2, 2021
c1ab065
AC: fix text-to-speech quantization pipeline (#2165)
eaidova Mar 2, 2021
3d19fcf
simple mtcnn demo (#2138)
vladimir-dudnik Mar 3, 2021
78a61f4
Merge pull request #2139 from IRDonch/downloader-print-signal
Mar 3, 2021
7ea9b9e
AC: fix single human pose estimation (#2167)
eaidova Mar 3, 2021
f52498f
AC: fix SQUAD dataset conversion for multi span examples (#2168)
eaidova Mar 3, 2021
6f82d19
Maskai processing implementation (#2160)
mzuevx Mar 3, 2021
67b9d0e
OpenVINO 2021.3 preview candidate models (#2166)
vladimir-dudnik Mar 3, 2021
8680a0d
Add CPU performance tuning 'KEY_CPU_THROUGHPUT_STREAMS' to multi_chan…
wdkwyf Mar 3, 2021
4c70036
Start release branch for OpenVINO 2021.3 (#2169)
eaidova Mar 4, 2021
8ff20a9
Revert "Start release branch for OpenVINO 2021.3 (#2169)"
Mar 9, 2021
1eae676
Merge commit '8680a0d' into recreate-release
Mar 9, 2021
eb6febf
Merge pull request #2184 from IRDonch/recreate-release
Mar 9, 2021
09174d6
Correct output layer names
eizamaliev Mar 9, 2021
9f3fb41
Merge pull request #2115 from vladimir-dudnik/vd/add-vocab-ref
Mar 9, 2021
739f037
Merge pull request #2181 from eizamaliev/densenet_doc_fix
Mar 9, 2021
be25c60
Remove obsolete model instance-segmentation-security-1025
Mar 10, 2021
812e18c
demos: remove references to removed models
Mar 10, 2021
0cf6099
text-to-speech-en-0001: add a composite-model.yml file
Feb 24, 2021
ddef294
unify label files names (#2172)
eaidova Mar 4, 2021
307e6a2
camvid classes description (#2173)
vladimir-dudnik Mar 4, 2021
dd7c1ed
describe model load and convertion to IR
vladimir-dudnik Mar 5, 2021
5048c26
also in index
vladimir-dudnik Mar 5, 2021
5dca8b0
Update demos/interactive_face_detection_demo/cpp/README.md
vladimir-dudnik Mar 9, 2021
5d776b4
Update demos/interactive_face_detection_demo/cpp/README.md
vladimir-dudnik Mar 9, 2021
1c65c53
Update demos/interactive_face_detection_demo/cpp/README.md
vladimir-dudnik Mar 9, 2021
9986e14
Update demos/interactive_face_detection_demo/cpp/README.md
vladimir-dudnik Mar 9, 2021
134368c
Update models/public/aclnet/aclnet.md
vladimir-dudnik Mar 9, 2021
d142341
Update models/public/aclnet/aclnet.md
vladimir-dudnik Mar 9, 2021
c99e644
Update models/public/aclnet/aclnet.md
vladimir-dudnik Mar 9, 2021
d5f75c4
Update models/public/aclnet/aclnet.md
vladimir-dudnik Mar 9, 2021
7964585
Update models/public/index.md
vladimir-dudnik Mar 9, 2021
eac9fa1
Update models/public/index.md
vladimir-dudnik Mar 9, 2021
b98b610
extend wording to all public models
vladimir-dudnik Mar 9, 2021
973eda1
Merge pull request #2187 from IRDonch/clean-up-models
Mar 10, 2021
6f33bef
common-sign-language-0001: fix the task type
Mar 10, 2021
44d1e5d
Merge pull request #2188 from IRDonch/csl-action-recognition
Mar 10, 2021
864fde7
segmentation_demo.py: add description of color palette file (#2171)
anzhella-pankratova Mar 5, 2021
845f614
regnetx-3.2gf: don't download anything at conversion time
Mar 10, 2021
6c5ce53
Merge pull request #2192 from IRDonch/regnet-download-config
Mar 10, 2021
9431195
Merge pull request #2191 from anzhella-pankratova/release_palettes
Mar 10, 2021
787121f
gesture_recognition: workaround multiprocessing for mac
Wovchena Mar 10, 2021
c70800f
Merge pull request #2189 from Wovchena/gesture_recognition-multiproce…
Mar 11, 2021
e21fca1
Set correct size
eizamaliev Mar 11, 2021
5c8b26b
Update demos/interactive_face_detection_demo/cpp/README.md
vladimir-dudnik Mar 11, 2021
26d6aba
Merge pull request #2194 from eizamaliev/py_detection_demo_fix
Mar 12, 2021
16b15f6
Publish second set of candidate models for 2021.3
Mar 12, 2021
9f282b9
Merge pull request #2200 from IRDonch/publish-models
Mar 12, 2021
d47f7b0
update follow by review
vladimir-dudnik Mar 12, 2021
dfc474d
fix punctuation
vladimir-dudnik Mar 12, 2021
fe42c00
Update models/public/forward-tacotron/description/forward-tacotron.md
vladimir-dudnik Mar 15, 2021
95330b4
Update models/public/human-pose-estimation-3d-0001/description/human-…
vladimir-dudnik Mar 15, 2021
521c541
Update models/public/open-closed-eye-0001/description/open-closed-eye…
vladimir-dudnik Mar 15, 2021
54bc00b
Update models/public/single-human-pose-estimation-0001/description/si…
vladimir-dudnik Mar 15, 2021
0b9f5b0
Update models/public/vehicle-license-plate-detection-barrier-0123/des…
vladimir-dudnik Mar 15, 2021
a2366cc
Update models/public/wavernn/description/wavernn.md
vladimir-dudnik Mar 15, 2021
cfd3772
Merge pull request #2175 from vladimir-dudnik/vd/describe-public-mode…
Mar 15, 2021
6f6a4cf
ACLNet update output (#2206)
eaidova Mar 16, 2021
0ae056c
AC docs: fix converter name in description (#2207)
eaidova Mar 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 39 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[flake8]
exclude=
# generic excludes
.git,__pycache__,
# generated files
demos/speech_recognition_demo/python/ctcdecode-numpy/ctcdecode_numpy/impl.py,
models/public/mozilla-deepspeech-0.8.2/mds_convert_utils/memmapped_file_system_pb2.py,

select=
# indentation problems
E10,E11,
# closing bracket does not match indentation of opening brackets line
E123,
# whitespace before '('
E211,
# missing whitespace after ',', ';', or ':'
E231,
# missing whitespace after keyword
E275,
# expected 1 blank line, found 0
E301,
# blank lines found after function decorator
E304,
# the backslash is redundant between brackets
E502,
# statement style issues
E7,
# parse errors
E9,
# pyflakes checks
F4,F5,F6,F7,F8,F9,
# deprecation warnings
W6,

ignore=
# multiple statements on one line (colon/def)
# ignored because putting a statement after a colon is harmless and
# sometimes results in more compact code
E701,E704,
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
# so allow it.
*.patch whitespace=-blank-at-eol

.git* -omz.package
.editorconfig -omz.package
.flake8 -omz.package
.git* -omz.package
.yamllint -omz.package
/ci/** -omz.package
/demos/build_demos.sh omz.package=l,m
Expand All @@ -21,6 +22,7 @@
/ci/requirements-conversion.txt omz.ci.job-for-change.demos omz.ci.job-for-change.models
/ci/requirements-demos.txt omz.ci.job-for-change.demos
/ci/requirements-downloader.txt omz.ci.job-for-change.demos omz.ci.job-for-change.models
/ci/requirements-quantization.txt omz.ci.job-for-change.downloader

/demos/** omz.ci.job-for-change.demos
/demos/**/*.md -omz.ci.job-for-change.demos
Expand Down
8 changes: 5 additions & 3 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ yaml-files:

ignore: |
demos/thirdparty/
tools/accuracy_checker/.yamllint
tools/accuracy_checker/dataset_definitions.yml
tools/accuracy_checker/configs/

rules:
line-length: disable
braces: enable
brackets: enable
colons: disable
colons:
max-spaces-before: 0
max-spaces-after: -1
commas: enable
comments:
level: warning
Expand All @@ -34,7 +36,7 @@ rules:
key-ordering: disable
new-line-at-end-of-file: enable
new-lines: disable
octal-values: disable
octal-values: enable
quoted-strings: disable
trailing-spaces: enable
truthy: disable
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [OpenVINO™ Toolkit](https://01.org/openvinotoolkit) - Open Model Zoo repository
[![Stable release](https://img.shields.io/badge/version-2021.2-green.svg)](https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2021.2)
[![Stable release](https://img.shields.io/badge/version-2021.3-green.svg)](https://github.com/openvinotoolkit/open_model_zoo/releases/tag/2021.3)
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/open_model_zoo/community)
[![Apache License Version 2.0](https://img.shields.io/badge/license-Apache_2.0-green.svg)](LICENSE)

Expand Down
7 changes: 7 additions & 0 deletions ci/check-basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def complain(message):
cwd=OMZ_ROOT,
).stdout.strip()

print('running text checks...', flush=True)

if subprocess.run(['git', '--no-pager', 'diff', '--check', empty_tree_hash, '--'],
cwd=OMZ_ROOT).returncode != 0:
all_passed = False
Expand Down Expand Up @@ -135,9 +137,14 @@ def complain(message):
shebang_program.endswith('/env') and shebang_args == 'python'):
complain(f"{path}:1: use 'python3', not 'python'")

print('running yamllint...', flush=True)
if subprocess.run([sys.executable, '-m', 'yamllint', '-s', '.'], cwd=OMZ_ROOT).returncode != 0:
all_passed = False

print('running flake8...', flush=True)
if subprocess.run([sys.executable, '-m', 'flake8', '--config=.flake8'], cwd=OMZ_ROOT).returncode != 0:
all_passed = False

sys.exit(0 if all_passed else 1)


Expand Down
4 changes: 2 additions & 2 deletions ci/documentation_updater/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ pip install ruamel.yaml

To update description of single model:
```
python documentation_updater.py -d <OMZ dir>/models/public/<model dir> --mode update
python documentation_updater.py -d <omz_dir>/models/public/<model_dir> --mode update
```

To check descriptions of all public models:
```
python documentation_updater.py -d <OMZ dir>/models/public
python documentation_updater.py -d <omz_dir>/models/public
```
5 changes: 2 additions & 3 deletions ci/documentation_updater/documentation_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import logging
import re
import ruamel.yaml
import shlex

from pathlib import Path
from ruamel.yaml.scalarstring import FoldedScalarString
Expand All @@ -29,7 +28,7 @@
MODES = [
'check',
'update'
]
]

LOG_LEVELS = [
'CRITICAL',
Expand Down Expand Up @@ -79,7 +78,7 @@ def convert(lines):
result += ' '
result += line.rstrip('\n')
result = re.sub(r"\[(.*?)\]\((.*?)\)", r"\1 <\2>", result) # Links transformation
result = result.replace("`", "\"").replace("\*", "*")
result = result.replace("`", "\"").replace("\\*", "*")
return result.strip()


Expand Down
Loading