Git Product home page Git Product logo

Comments (7)

dhkim2810 avatar dhkim2810 commented on August 29, 2024

Hi @gtfaiwxm , please provide more details on your error.

  • What command you used
  • What environment you are on (i.e., onnx and onnxruntime)

Thank you.

from mobilesam.

julinfn avatar julinfn commented on August 29, 2024

the same problem occurs:
command: python scripts/export_onnx_model.py --checkpoint ./weights/mobile_sam.pt --model-type vit_t --output ./mobile_sam.onnx
optset: 16 is not support ,change to 13
environment:onnx 1.14.0 onnxruntime 1.8.1

from mobilesam.

dhkim2810 avatar dhkim2810 commented on August 29, 2024

Hi @julinfn , since we tested using onnx==1.12.0 and onnxruntime==1.14.0, there could be compatibility issues.
As error suggests, please use opset 13 using --opset 13 flag.

We will close the issue for now.
Please let us know if it still has errors.
Thank you.

from mobilesam.

julinfn avatar julinfn commented on August 29, 2024

it's ok now,thanks

from mobilesam.

janesunflower avatar janesunflower commented on August 29, 2024

I have the same problem. torch=1.10.0+cu113, onnx==1.12.0, onnxruntime==1.14.0, opset 13

from mobilesam.

shining-love avatar shining-love commented on August 29, 2024

it's ok now,thanks

hello,how to solve it?

from mobilesam.

Dai23 avatar Dai23 commented on August 29, 2024

在onnx==1.12.0onnxruntime==1.14.0 --opset 13 的环境下仍然存在着问题:RuntimeError: Exporting the operator repeat_interleave to ONNX opset version 13 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.

from mobilesam.

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.