<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; 4.1.2</li>
<li>Operating System / Platform =&gt; Windows 7 64 bit</li>
<li>Compiler =&gt; Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I've tuned a pre-trained tensorflow model using the object_detection API.<br>
After freezing the model and using the "tf_text_graph_ssd.py" script (the pre-trained model I used was SSD_inception_v2_coco) I generated the graph.pbtxt file.<br>
Each time I try to load the model with<br>
<code class="notranslate">cv.readNetFromTensorflow("frozen_inference_graph.pb", "graph.pbtxt")</code><br>
Windows immediately says Python stopped working and crashes.<br>
The same thing happens when I try to use it in C++.</p>
<h5 dir="auto">Steps to reproduce</h5>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import cv2 as cv
cv.readNetFromTensorflow(&quot;frozen_inference_graph.pb&quot;, &quot;graph.pbtxt&quot;)"><pre class="notranslate"><code class="notranslate">import cv2 as cv
cv.readNetFromTensorflow("frozen_inference_graph.pb", "graph.pbtxt")
</code></pre></div>
<p dir="auto"><a href="https://mega.nz/#!cEIDVIwS!P5hCTRA2MAAjkQLV6dfd0F4ZJf1ZbZBZkcVrQEfzmyg" rel="nofollow">frozen_inference_graph.pb</a><br>
<a href="https://github.com/opencv/opencv/files/3860944/graph_and_config.zip">graph_and_config.zip</a></p>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; :3.4</li>
<li>Operating System / Platform =&gt; :CentOS-7.5 64Bit:</li>
<li>Compiler =&gt; :GCC:</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">The RPM installation package under CENTOS was automatically added with LIB_SUFFIX=64 when use cmake. At this time, an error occurred and the shared library file directory became lib6464.<br>
I think there is an error in line 595 of the CMakeLists.txt file, because the new version of cmake will automatically form CMAKE_INSTALL_LIBDIR according to the operating system environment, and the 64 - bit system will form lib64 without adding a LIB_SUFFIX it self</p>

<h5 dir="auto">Steps to reproduce</h5>

<p dir="auto">cmake -DLIB_SUFFIX=64</p>