i am getting error will running tao-toolkit-triton
have installed pip3 install tao_triton also did pip install -r requirements-pip.txt even then i get below error
>
> root@eb65e4f2d3a9:/opt/nvidia/deepstream/deepstream-6.0/sources/tao-toolkit-triton-apps# python tao_client.py /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream-apps/model_repository/Weapon_model/model_b1_gpu0_fp32.engine -m yolov3_tao -x 1 -b 1 --mode YOLOv3 -i https -u localhost:8000 --async --output_path /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream-apps/model_repository/Weapon_model/1
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
> setattr(self, word, getattr(machar, word).flat[0])
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
> return self._float_to_str(self.smallest_subnormal)
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
> setattr(self, word, getattr(machar, word).flat[0])
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
> return self._float_to_str(self.smallest_subnormal)
> Traceback (most recent call last):
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 163, in get_socket
> return self._socket_queue.get(block=False)
> File "src/gevent/queue.py", line 335, in gevent._gevent_cqueue.Queue.get
> File "src/gevent/queue.py", line 350, in gevent._gevent_cqueue.Queue.get
> File "src/gevent/queue.py", line 319, in gevent._gevent_cqueue.Queue._Queue__get_or_peek
>
> _queue.Empty
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "tao_client.py", line 435, in <module>
> main()
> File "tao_client.py", line 246, in main
> model_metadata = triton_client.get_model_metadata(
> File "/usr/local/lib/python3.8/dist-packages/tritonclient/http/__init__.py", line 500, in get_model_metadata
> response = self._get(request_uri=request_uri,
> File "/usr/local/lib/python3.8/dist-packages/tritonclient/http/__init__.py", line 266, in _get
> response = self._client_stub.get(request_uri)
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/client.py", line 266, in get
> return self.request(METHOD_GET, request_uri, headers=headers)
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/client.py", line 226, in request
> sock = self._connection_pool.get_socket()
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 166, in get_socket
> return self._create_socket()
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 127, in _create_socket
> raise first_error
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 114, in _create_socket
> sock = self._connect_socket(sock, sock_info[-1])
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 136, in _connect_socket
> sock.connect(address)
> File "/usr/local/lib/python3.8/dist-packages/gevent/_socketcommon.py", line 607, in connect
> raise _SocketError(err, strerror(err))
> ConnectionRefusedError: [Errno 111] Connection refused
> root@eb65e4f2d3a9:/opt/nvidia/deepstream/deepstream-6.0/sources/tao-toolkit-triton-apps# python3 tao_triton/python/entrypoints/tao_client.py /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream-apps/model_repository/Helmet_model/yolov4_resnet18_epoch_050.etlt -m yolov3_tao -x 1 -b 1 --mode YOLOv3 -i https -u localhost:8000 --async --output_path /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream-apps/model_repository/Helmet_model/1
> Traceback (most recent call last):
> File "tao_triton/python/entrypoints/tao_client.py", line 40, in <module>
> from tao_triton.python.types import Frame, UserData
> ModuleNotFoundError: No module named 'tao_triton'
> root@eb65e4f2d3a9:/opt/nvidia/deepstream/deepstream-6.0/sources/tao-toolkit-triton-apps# python3 tao_client.py /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream-apps/model_repository/Helmet_model/yolov4_resnet18_epoch_050.etlt -m yolov3_tao -x 1 -b 1 --mode YOLOv3 -i https -u localhost:8000 --async --output_path /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream-apps/model_repository/Helmet_model/1
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
> setattr(self, word, getattr(machar, word).flat[0])
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
> return self._float_to_str(self.smallest_subnormal)
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
> setattr(self, word, getattr(machar, word).flat[0])
> /usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
> return self._float_to_str(self.smallest_subnormal)
> Traceback (most recent call last):
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 163, in get_socket
> return self._socket_queue.get(block=False)
> File "src/gevent/queue.py", line 335, in gevent._gevent_cqueue.Queue.get
> File "src/gevent/queue.py", line 350, in gevent._gevent_cqueue.Queue.get
> File "src/gevent/queue.py", line 319, in gevent._gevent_cqueue.Queue._Queue__get_or_peek
>
> _queue.Empty
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "tao_client.py", line 435, in <module>
> main()
> File "tao_client.py", line 246, in main
> model_metadata = triton_client.get_model_metadata(
> File "/usr/local/lib/python3.8/dist-packages/tritonclient/http/__init__.py", line 500, in get_model_metadata
> response = self._get(request_uri=request_uri,
> File "/usr/local/lib/python3.8/dist-packages/tritonclient/http/__init__.py", line 266, in _get
> response = self._client_stub.get(request_uri)
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/client.py", line 266, in get
> return self.request(METHOD_GET, request_uri, headers=headers)
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/client.py", line 226, in request
> sock = self._connection_pool.get_socket()
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 166, in get_socket
> return self._create_socket()
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 127, in _create_socket
> raise first_error
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 114, in _create_socket
> sock = self._connect_socket(sock, sock_info[-1])
> File "/usr/local/lib/python3.8/dist-packages/geventhttpclient/connectionpool.py", line 136, in _connect_socket
> sock.connect(address)
> File "/usr/local/lib/python3.8/dist-packages/gevent/_socketcommon.py", line 607, in connect
> raise _SocketError(err, strerror(err))
> ConnectionRefusedError: [Errno 111] Connection refused
> root@eb65e4f2d3a9:/opt/nvidia/deepstream/deepstream-6.0/sources/tao-toolkit-triton-apps#