CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
[GSoC] Added TF and PyTorch detection model conversion cases #18237
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
Conversation
Please ask your mentor to check licensing terms of added images. Add |
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Outdated
Show resolved
Hide resolved
doc/tutorials/dnn/dnn_pytorch_tf_classification/tf_cls_model_conversion_tutorial.md
Outdated
Show resolved
Hide resolved
Is this feature abandoned at the moment? |
d5e6d7c
to
f7a0920
Compare
Please squash commits into one, so we can see real size of this patch without history of intermediate changes. |
doc/tutorials/dnn/dnn_pytorch_tf_classification/pytorch_cls_model_conversion_c_tutorial.md
Outdated
Show resolved
Hide resolved
Please squash commits into one (to trim git history) and rebase on the latest master? |
f7a0920
to
cdb496a
Compare
…utorial [GSoC] Added TF and PyTorch detection model conversion cases * Added object detection convertion pipeline and tutorials * Added tutorial corrections
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.