ConnectionError: HTTPConnectionPool(host=‘localhost’, port=8501): Max retries exceeded with url: /v1/models/fashion_model:predict (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7fc6c23768b0>: Failed to establish a new connection: [Errno 111] Connection refused’))
Please tell me what should I do? Also, please fix this in the official tutorial notebook.
As a workaround, downgrade tensorflow-model-server from 2.11.0 to 2.8.0.
In Install TensorFlow Serving section of the notebook, please uncomment !{SUDO_IF_NEEDED} apt-get install tensorflow-model-server line and add below lines.