Merge pull request #17604 from LupusSanctus:am/pytorch_tf_cls_tutorial
authorAnastasia M <anastasia.murzova@xperience.ai>
Tue, 26 Jan 2021 11:06:15 +0000 (14:06 +0300)
committerGitHub <noreply@github.com>
Tue, 26 Jan 2021 11:06:15 +0000 (11:06 +0000)
commit8c221981bf7e2c8eb87302d70000aa246641487c
tree2fa17088c8189773840010892eee0b940b704e33
parente85b41f9be29e9529fbb1bd9e218756274aa0ed1
Merge pull request #17604 from LupusSanctus:am/pytorch_tf_cls_tutorial

[GSoC] Added TF and PyTorch classification conversion cases

* Added TF and PyTorch classification conversion cases

* Modified structure, some processing scripts. Added evaluation pipeline

* Minor structure change

* Removed extra functions, minor structure change

* Modified structure, code corrections

* Updated classification code block, added classification tutorials

* Added minor modifications of paths

* Classification block corrections in accordance with comments
29 files changed:
doc/tutorials/dnn/dnn_pytorch_tf_classification/images/opencv_resnet50_test_res_c.jpg [new file with mode: 0644]
doc/tutorials/dnn/dnn_pytorch_tf_classification/images/pytorch_resnet50_opencv_test_res.jpg [new file with mode: 0644]
doc/tutorials/dnn/dnn_pytorch_tf_classification/images/squirrel_cls.jpg [new file with mode: 0644]
doc/tutorials/dnn/dnn_pytorch_tf_classification/images/tf_mobilenet_opencv_test_res.jpg [new file with mode: 0644]
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_c_tutorial.md [new file with mode: 0644]
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_tutorial.md [new file with mode: 0644]
doc/tutorials/dnn/dnn_pytorch_tf_classification/tf_cls_model_conversion_tutorial.md [new file with mode: 0644]
doc/tutorials/dnn/dnn_text_spotting/dnn_text_spotting.markdown
doc/tutorials/dnn/table_of_content_dnn.markdown
samples/data/squirrel_cls.jpg [new file with mode: 0644]
samples/dnn/classification.cpp
samples/dnn/classification.py
samples/dnn/dnn_model_runner/dnn_conversion/common/abstract_model.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/evaluation/classification/cls_accuracy_evaluator.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/evaluation/classification/cls_data_fetcher.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/img_utils.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/test/cls_model_test_pipeline.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/test/configs/default_preprocess_config.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/test/configs/test_config.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/test/model_test_pipeline.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/common/utils.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/pytorch/classification/py_to_py_cls.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/pytorch/classification/py_to_py_resnet50.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/pytorch/classification/py_to_py_resnet50_onnx.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/pytorch/pytorch_model.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/requirements.txt [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/tf/classification/py_to_py_cls.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/tf/classification/py_to_py_mobilenet.py [new file with mode: 0644]
samples/dnn/dnn_model_runner/dnn_conversion/tf/tf_model.py [new file with mode: 0644]