[GSoC] Added TF and PyTorch detection model conversion cases#18237
Merged
alalek merged 3 commits intoopencv:masterfrom Apr 2, 2021
Merged
[GSoC] Added TF and PyTorch detection model conversion cases#18237alalek merged 3 commits intoopencv:masterfrom
alalek merged 3 commits intoopencv:masterfrom
Conversation
Member
|
Please ask your mentor to check licensing terms of added images. Add |
asmorkalov
requested changes
Sep 7, 2020
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_c_tutorial.md
Outdated
Show resolved
Hide resolved
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_tutorial.md
Outdated
Show resolved
Hide resolved
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_tutorial.md
Outdated
Show resolved
Hide resolved
| input_img = cv2.resize(input_img, (256, 256)) | ||
|
|
||
| # define preprocess parameters | ||
| mean = np.array([0.485, 0.456, 0.406]) * 255.0 |
Contributor
There was a problem hiding this comment.
It'll be great, if you point the origin of this values and where should users get it for other models.
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_tutorial.md
Outdated
Show resolved
Hide resolved
doc/tutorials/dnn/dnn_pytorch_tf_classification/tf_cls_model_conversion_tutorial.md
Outdated
Show resolved
Hide resolved
doc/tutorials/dnn/dnn_pytorch_tf_classification/tf_cls_model_conversion_tutorial.md
Show resolved
Hide resolved
doc/tutorials/dnn/dnn_pytorch_tf_classification/tf_cls_model_conversion_tutorial.md
Outdated
Show resolved
Hide resolved
Contributor
|
Is this feature abandoned at the moment? |
d5e6d7c to
f7a0920
Compare
Member
Please squash commits into one, so we can see real size of this patch without history of intermediate changes. |
alalek
reviewed
Nov 25, 2020
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_c_tutorial.md
Outdated
Show resolved
Hide resolved
Member
|
Please squash commits into one (to trim git history) and rebase on the latest master? |
f7a0920 to
cdb496a
Compare
alalek
approved these changes
Apr 2, 2021
Merged
a-sajjad72
pushed a commit
to a-sajjad72/opencv
that referenced
this pull request
Mar 30, 2023
…utorial [GSoC] Added TF and PyTorch detection model conversion cases * Added object detection convertion pipeline and tutorials * Added tutorial corrections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GSoC project: "Write a tutorial about training a network in TF or PyTorch and then running it in OpenCV"
Part 1.Classification case.
Part 2. Segmentation case.
Part 3. Detection case.
Provided dnn_model_runner module part for the object detection model retrieval and processing for further reading and inference with OpenCV API.
Provided tutorial series.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.