* Moved exception checks to _convert(), added suggestion to try legacy TF in case of conversion fail.
* Added test.
* Added send_conversion_result() method.
* Small correction.
* Update tools/mo/openvino/tools/mo/convert_impl.py
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Moved test_suggest_legacy_fe() test to check_info_messages_test.py.
* Removed not needed import.
* Small correction.
---------
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Separeted SavedModelVariablesIndex class from Saved Model
* Renamed SavedModelVariablesIndex class
* Enabled Tensorflow MetaGraph
* Enabled Tensorflow MetaGraph
* Covered VariableV2 and Assign nodes
* Applied review comments
* Added tests
* Added names to input/output ports too
* Fixed naming for using with MO
* Applied part of review comments
* Renamed meta.cpp and saved_model.cpp
* Applied shared_ptr for memory management of PtrNode
* Fixing CI
* Prevent cycles while passing thru graph
* Released requirement for Checkpointable Object Graph
* Changed naming approach to align port order
* Changed renaming order (before reordering)
* Added a Placeholder translator which checks updated shape
* WA missing Identity name
* Fix CI and restored lost translators after rebase
* WA for output names
* Removing unused params after cutting a model
* Prevents crash in case VariableV2 appears in freezed model
* Fixed saved model in case no variables.index found, but
variables exists
* Changed approach for handling native formats support
* Aligned behavior with freezing .meta files
* Fixed behavior for cutting a model by input tensor
* Applied review comments
* Fix of class conflicts in different frameworks.
* Remove commented code.
* Moved FakeQuantWithMinMaxVars to common part.
* Fixed BOM package test.
* Removed not needed code.
* Removed not needed code.
* Fix Interpolate-11 in MO
* Add forgotten file
* Fix output type of TopK-11
* Do not force precision on port 1 for mode scales
* Update tools/mo/openvino/tools/mo/ops/interpolate.py
---------
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* [MO] Remove use of mapping file and its generation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix pylinter findings
* Remove usage of mapping file in the layer tests
* Fixing layer tests for legacy frontend
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support delayed batch setting
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Cover BOM list
* Add unit-tests for batch setting with layout
* Apply code-review: check batch size
* Apply code-review: default index for any dimension
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Used singleton class for version check.
* Moved VersionChecker to utitl/version.py, added tests.
* Minor corrections.
* Sort imports.
* Small correction.
* Small correction.
* Added convert_model() params docs.
* Added auto-generating of most cli params.
* Added auto-generating of cli params.
* Small correction.
* Removed wrong change.
* Corrected default values.
* Fixed errors, added tests.
* Small correction.
* Corrected params descriptions, moved cli specific params to separate file.
* Moved params specifics to utils/help.py.
* [PyOV] Fix issues with RTMap
* update year
* some clean-up and items fix
* tests and small fixes
* Update src/bindings/python/src/pyopenvino/utils/utils.cpp
* undo changes
* fix serialization on python side
* rt_info as rt_map
* undo several changes in tests
* fix mo test
* sadd docstrings
* add tests
* fix codestyle
* try to fix win
* fix master
* apply comments
* [MO][TF FE] Do not print TF FE message in case of fallback
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Correct test model with Switch and Merge
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Ability to provide several source dirs for ncc-style checks
* Fixed include headers; added NCC to TF common
* Fixed NCC for frontends
* Fixed NCC for frontends
* Extra fixes
* Fixest push --f
* Clang-format
* Apply comments
* Add an option to specify required clang-format version
* Update src/frontends/tensorflow/src/decoder_proto.cpp
* Update src/frontends/tensorflow/src/decoder_proto.cpp
* [TF FE] Convert a model with Framework nodes
Now the conversion pipeline will convert all unsupported operations to Framework nodes
It is done with a hope that sub-graphs with Framework Nodes will be cut in later stages
like auto-pruning.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
* Fix dynamic element type for FusedBatchNorm
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
* Fix build issue
* Continue translation in case translator limitation
* Change undefined to dynamic type
* Have one more change to dynamic type
* Change undefined to dynamic in Const translator
* Expect MO to handle dynamic type
* Exclude TransposeSinking pass if model contains Framework nodes
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fixed legacy extensions passing to MO tool.
* Added tests.
* Corrected test.
* Add debug print.
* Moved tests to layer tests.
* Added comment.
* Moved legacy ext tests to separate file. Fixed tmp .pb file cleaning.
* Small correction.
* Run MO Python API tests directory in CI.
* Small fix.
* Fix for case of splitted output.
* Corrected imports.
* Corrected imports.
* Added run of legacy extensions tests from subprocess.
* [TF FE] Support conversion of models with non-standard extensions in the path
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update tools/mo/unit_tests/moc_tf_fe/conversion_basic_models.py
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* enable --compress_to_fp16 by default in MO
* corrected docs, added warning if user did't specify --compress_to_fp16 explicitly
* fix failing MO unit-tests
* do not wipe out data_type if user defined it explicitly by cli argument
* updated warning message and docs
* corrected phrasing
* corrected phrasing in FP16_Compression.md
* set compress_to_fp16=False for convert tests
* leftover: set compress_to_fp16=False for convert tests
* minor correction
* print info message in main.py, som minor changes
* typos fix
* fix losing information whether arguments set by user or got from defaults
* returned back default values instead of None
* more selective correcting of test_mo_convert_pytorch.py; added test for cases when compression is enabled/disabled or left by default
* fix test_mo_convert_pytorch.py