gaomingqi / Track-Anything

Track-Anything is a flexible and interactive tool for video object tracking and segmentation, based on Segment Anything, XMem, and E2FGVI.
MIT License
6.52k stars 481 forks source link

local URL连接失败 #105

Open XinyingZheng opened 1 year ago

XinyingZheng commented 1 year ago

The running information is as follows:

/usr/local/lib/python3.8/dist-packages/gradio/utils.py:879: UserWarning: Expected at least 4 arguments for function <function select_template at 0x7ff218598700>, received 3. warnings.warn( Running on local URL: http://0.0.0.0:12212

To create a public link, set share=True in launch().

but when I open http://0.0.0.0:12212 on win10, have a error as follows:

错误 您所请求的网址(URL)无法获取 当尝试取回该 URL 时遇到下面的错误:http://0.0.0.0:12212/

连接到 0.0.0.0 失败。

系统返回以下内容:(111) Connection refused

The remote host or network may be down. Please try the request again.

缓存服务器的管理员 webmaster. 当前代理由Ghelper提供.

Jasonzhangzzf commented 1 year ago

app.py 第601行把server_name删了

iface.launch(debug=True, enable_queue=True, server_port=args.port)

可以看一下gradio的文档.

XinyingZheng commented 1 year ago

好的多谢,问题已经解决了~

------------------ 原始邮件 ------------------ 发件人: "gaomingqi/Track-Anything" @.>; 发送时间: 2023年10月10日(星期二) 上午9:08 @.>; @.**@.>; 主题: Re: [gaomingqi/Track-Anything] local URL连接失败 (Issue #105)

在app.py 第601行把debug改成False

iface.launch(debug=False, enable_queue=True, server_port=args.port, server_name="0.0.0.0")

不过我直接default所有了,所以直接改成 ‘iface.launch()’

可以看一下gradio的文档, launch method里面debug会block main thread.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Angelina181399 commented 11 months ago

你现在还可以在hugging face上面打开嘛