playground
playground copied to clipboard
我在linux服务器上面搭建服务器,在自己本地的windows上面建立客户端,但是模型推理的·时候·出现下面·报错·
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /data/upload/3/1381ce70-IMG_20210627_225110.jpg (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f178c0a27f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
[2024-02-02 11:19:07,096] [INFO] [werkzeug::_log::225] 192.168.1.225 - - [02/Feb/2024 11:19:07] "POST /predict HTTP/1.1" 500 -
@MMa321 Hi there , you could add hostname to the parameters to help bankend find pictures where uploaded in LabelStudio , like this
label-studio-ml start sam --port 9500 --with
sam_config=vit_b
hostname= http://hostname:port
sam_checkpoint_file=./sam_vit_b_01ec64.pth
out_mask=True
out_bbox=True
device=cuda:0
Thank you for your answer, it was useful
Thank you for your answer, it was useful
请问具体是怎样的命令呢?我加了hostname:http://localhost:8080 但是没用
Thank you for your answer, it was useful
请问具体是怎样的命令呢?我加了hostname:http://localhost:8080 但是没用
If the server and the client is not a machine, you need the hostname of the hostname = http://hostname:port, such as the hostname = http://192.168.1.100:8080