title: '/bin/convert_to_uff.py': No such file or directory
body: <p>I am trying to optimize <code>YoloV3</code> using <code>tensorRT</code></p>
  
  <p>I came this post called <a href="https://towardsdatascience.com/have-you-optimized-your-deep-learning-model-before-deployment-cdc3aa7f413d" rel="nofollow noreferrer">Have you Optimized your Deep Learning Model Before Deployment?</a></p>
  
  <p><code>Docker</code> is used in the post.</p>
  
  <p>Used <a href="https://devblogs.nvidia.com/gpu-containers-runtime/" rel="nofollow noreferrer">Enabling GPUs in the Container Runtime Ecosystem</a> to install <code>nvidia-docker2</code></p>
  
  <p>Pulled the latest version of the docker image <code>docker pull aminehy/tensorrt-opencv-python3:version-1.3</code> from <a href="https://hub.docker.com/r/aminehy/tensorrt-opencv-python3/tags" rel="nofollow noreferrer">aminehy/tensorrt-opencv-python3</a></p>
  
  <p>Here are the images</p>
  
  <pre><code>$ sudo docker images
  REPOSITORY                        TAG                             IMAGE ID            CREATED             SIZE
  nvcr.io/nvidia/cuda               10.1-cudnn7-devel-ubuntu18.04   b4879c167fc1        2 weeks ago         3.67GB
  aminehy/tensorrt-opencv-python3   version-1.3                     0302e477816d        4 months ago        5.36GB
  aminehy/tensorrt-opencv-python3   latest                          604502819d12        4 months ago        4.94GB
  aminehy/tensorrt-opencv-python3   version-1.1                     d693210c500c        4 months ago        4.94GB
  
  </code></pre>
  
  <p>I ran </p>
  
  <pre><code>$sudo docker run -it --rm -v $(pwd):/workspace --runtime=nvidia -w /workspace -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY aminehy/tensorrt-opencv-python3:version-1.3```
  
  =====================
  == NVIDIA TensorRT ==
  =====================
  
  NVIDIA Release 19.05 (build 6392482)
  
  NVIDIA TensorRT 5.1.5 (c) 2016-2019, NVIDIA CORPORATION.  All rights reserved.
  Container image (c) 2019, NVIDIA CORPORATION.  All rights reserved.
  
  https://developer.nvidia.com/tensorrt
  
  To install Python sample dependencies, run /opt/tensorrt/python/python_setup.sh
  
  root@a38b20eeb740:/workspace# cd /opt/tensorrt/python/
  root@a38b20eeb740:/opt/tensorrt/python# chmod +x python_setup.sh 
  root@a38b20eeb740:/opt/tensorrt/python# ./python_setup.sh
  Requirement already satisfied: Pillow in /usr/local/lib/python3.5/dist-packages (from -r /opt/tensorrt/samples/sampleSSD/requirements.txt (line 1)) (6.0.0)
  WARNING: You are using pip version 19.2.1, however version 19.3.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  Ignoring torch: markers 'python_version == "3.7"' don't match your environment
  ......
  ......
  ......
  Setting up graphsurgeon-tf (5.1.5-1+cuda10.1) ...
  Setting up uff-converter-tf (5.1.5-1+cuda10.1) ...
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python2.7/dist-packages/uff/__init__.py", line 1, in &lt;module&gt;
      from uff import converters, model  # noqa
    File "/usr/lib/python2.7/dist-packages/uff/model/__init__.py", line 1, in &lt;module&gt;
      from . import uff_pb2 as uff_pb  # noqa
    File "/usr/lib/python2.7/dist-packages/uff/model/uff_pb2.py", line 6, in &lt;module&gt;
      from google.protobuf.internal import enum_type_wrapper
  ImportError: No module named google.protobuf.internal
  chmod: cannot access '/bin/convert_to_uff.py': No such file or directory
  </code></pre>
  
  <p>Can't seem to find any file called <code>convert_to_uff.py</code> inside <code>bin</code></p>
  
  <p>Whats is going?</p>
  
  <p>Where did I go wrong?</p>