Skip to content

Update text graphs generator for Faster-RCNN networks from TensorFlow - #13065

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
dkurt:dnn_update_tf_faster_rcnn
Nov 8, 2018
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
dkurt:dnn_update_tf_faster_rcnn

Conversation

@dkurt

@dkurt dkurt commented Nov 7, 2018 •

Copy link
Copy Markdown
Member

This pullrequest changes

resolves #13050
resolves #12996

Fixed OpenCL optimization for eltwise and convolution layers fusion. Number of fused layers across all the tests before PR: 136. Number of fusions with this PR: 142 (+6).

Merge with extra: opencv/opencv_extra#545

No efficiency regressions observed:
(median time for a single input forward pass)

CPU: Intel® Core™ i7-6700K CPU @ 4.00GHz x 8
GPU: Intel® HD Graphics 530 (Skylake GT2)

Test name 3.4 branch With a PR x-factor
AlexNet::OCV/OCL 18.537 18.890 0.98
AlexNet::OCV/OCL_FP16 12.725 12.706 1.00
DenseNet_121::OCV/OCL 102.097 100.543 1.02
DenseNet_121::OCV/OCL_FP16 104.261 104.472 1.00
EAST_text_detection::OCV/OCL 93.894 93.609 1.00
EAST_text_detection::OCV/OCL_FP16 93.014 92.046 1.01
ENet::OCV/OCL 66.914 67.121 1.00
FastNeuralStyle_eccv16::OCV/OCL 105.718 105.650 1.00
GoogLeNet::OCV/OCL 32.514 32.469 1.00
GoogLeNet::OCV/OCL_FP16 29.018 29.245 0.99
Inception_5h::OCV/OCL 35.727 36.063 0.99
Inception_5h::OCV/OCL_FP16 34.468 33.853 1.02
Inception_v2_Faster_RCNN::OCV/OCL 351.957 350.877 1.00
Inception_v2_SSD_TensorFlow::OCV/OCL 78.133 78.994 0.99
Inception_v2_SSD_TensorFlow::OCV/OCL_FP16 82.918 84.446 0.98
MobileNet_SSD_Caffe::OCV/OCL 29.228 29.115 1.00
MobileNet_SSD_Caffe::OCV/OCL_FP16 29.965 30.399 0.99
MobileNet_SSD_v1_TensorFlow::OCV/OCL 32.191 32.119 1.00
MobileNet_SSD_v1_TensorFlow::OCV/OCL_FP16 33.897 33.822 1.00
MobileNet_SSD_v2_TensorFlow::OCV/OCL 51.679 52.043 0.99
MobileNet_SSD_v2_TensorFlow::OCV/OCL_FP16 53.841 51.798 1.04
OpenFace::OCV/OCL 18.954 18.663 1.02
OpenFace::OCV/OCL_FP16 21.448 21.082 1.02
OpenPose_pose_coco::OCV/OCL 1058.803 1057.486 1.00
OpenPose_pose_coco::OCV/OCL_FP16 1188.063 1189.322 1.00
OpenPose_pose_mpi::OCV/OCL 1044.268 1036.856 1.01
OpenPose_pose_mpi::OCV/OCL_FP16 1173.776 1172.670 1.00
OpenPose_pose_mpi_faster_4_stages::OCV/OCL 744.265 742.745 1.00
OpenPose_pose_mpi_faster_4_stages::OCV/OCL_FP16 812.397 813.321 1.00
ResNet_50::OCV/OCL 44.585 44.735 1.00
ResNet_50::OCV/OCL_FP16 37.120 37.497 0.99
SSD::OCV/OCL 382.996 382.180 1.00
SSD::OCV/OCL_FP16 334.588 335.808 1.00
SqueezeNet_v1_1::OCV/OCL 11.838 11.806 1.00
SqueezeNet_v1_1::OCV/OCL_FP16 11.747 11.672 1.01
YOLOv3::OCV/OCL 344.806 345.495 1.00
YOLOv3::OCV/OCL_FP16 335.676 335.323 1.00
opencv_face_detector::OCV/OCL 33.265 33.388 1.00
opencv_face_detector::OCV/OCL_FP16 38.702 36.492 1.06

@dkurt
dkurt force-pushed the dnn_update_tf_faster_rcnn branch from 29c01d2 to dc9e6d3 Compare November 7, 2018 15:38

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants