Git Product home page Git Product logo

Comments (8)

vietanhdev avatar vietanhdev commented on May 18, 2024

Please specify:

  • Your OS (Win, Mac,...).
  • Your AnyLabeling version.
  • Your internet speed at: https://www.speedtest.net/.
  • Your error messages.
    Thank you!

from anylabeling.

Rane2021 avatar Rane2021 commented on May 18, 2024

my machine is macos 12.6.5 with m1 chip. load model error is:

Traceback (most recent call last):
File "urllib/request.py", line 1350, in do_open
File "http/client.py", line 1281, in request
File "http/client.py", line 1327, in _send_request
File "http/client.py", line 1276, in endheaders
File "http/client.py", line 1036, in _send_output
File "http/client.py", line 976, in send
File "http/client.py", line 1451, in connect
File "ssl.py", line 423, in wrap_socket
File "ssl.py", line 870, in _create
File "ssl.py", line 1139, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "services/auto_labeling/model.py", line 124, in get_model_abs_path
File "urllib/request.py", line 247, in urlretrieve
File "urllib/request.py", line 222, in urlopen
File "urllib/request.py", line 525, in open
File "urllib/request.py", line 543, in _open
File "urllib/request.py", line 503, in _call_chain
File "urllib/request.py", line 1393, in https_open
File "urllib/request.py", line 1352, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "utils.py", line 15, in run
File "services/auto_labeling/model_manager.py", line 149, in _load_model
File "services/auto_labeling/segment_anything.py", line 52, in init
File "services/auto_labeling/model.py", line 130, in get_model_abs_path
Exception: Could not download model from https://github.com/vietanhdev/anylabeling-assets/releases/download/v0.2.0/segment_anything_vit_b_encoder_quant.onnx: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>
[1] 99692 abort ./anylabeling

from anylabeling.

Rane2021 avatar Rane2021 commented on May 18, 2024

it see like: network error, is there any ways to download model and put it in a folder

from anylabeling.

susigo avatar susigo commented on May 18, 2024

i face the same problem!

from anylabeling.

KroitAax avatar KroitAax commented on May 18, 2024

This issue has been resolved. You need to download the latest source code and replace the path inside. Network reasons also need to be noted, if you are using a proxy to enable global mode. https://github.com/vietanhdev/anylabeling-assets

from anylabeling.

Geniukx avatar Geniukx commented on May 18, 2024

This issue has been resolved. You need to download the latest source code and replace the path inside. Network reasons also need to be noted, if you are using a proxy to enable global mode. https://github.com/vietanhdev/anylabeling-assets

Thanks, switching the proxy to global did work

from anylabeling.

vietanhdev avatar vietanhdev commented on May 18, 2024

Please check AnyLabeling v0.2.16 to see if the error still persists.

from anylabeling.

vietanhdev avatar vietanhdev commented on May 18, 2024

From AnyLabeling v0.2.22, to load custom models:

from anylabeling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.