microsoft / microsoft/OmniParser

最后执行的时候出现了一个问题,想问问各位大佬有什么建议

Open
#237 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
25.4k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

PS C:\Users\20377\OmniParser\OmniParser-master> python gradio_demo.py
[2025-03-06 21:11:04,484] [ WARNING] easyocr.py:80 - Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU.
[2025-03-06 21:11:04,489] [ WARNING] easyocr.py:251 - Downloading detection model, please wait. This may take several minutes depending upon your network connection.
Traceback (most recent call last):
File "D:\canda\Lib\urllib\request.py", line 1344, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "D:\canda\Lib\http\client.py", line 1338, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\canda\Lib\http\client.py", line 1384, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\canda\Lib\http\client.py", line 1333, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\canda\Lib\http\client.py", line 1093, in _send_output
self.send(msg)
File "D:\canda\Lib\http\client.py", line 1037, in send
self.connect()
File "D:\canda\Lib\http\client.py", line 1472, in connect
super().connect()
File "D:\canda\Lib\http\client.py", line 1003, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\canda\Lib\socket.py", line 865, in create_connection
raise exceptions[0]
File "D:\canda\Lib\socket.py", line 850, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with gradio_demo.py and the startup path that initializes EasyOCR, then reproduce the reported python gradio_demo.py command on Windows. Inspect the model-download step associated with the traceback and compare it with the project's documented setup. Done means the failure has a clear, reproducible cause and a documented project-level resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.