Giter Club home page Giter Club logo

chinese-clip-opencv-onnxrun's Introduction

深度学习推理部署,真好玩😄😄😄

我的 GitHub 数据 Top Langs

chinese-clip-opencv-onnxrun's People

Contributors

hpc203 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chinese-clip-opencv-onnxrun's Issues

执行C++版本的程序时,加载模型报错

您好,我在尝试使用C++版本的程序时,遇到了以下错误

[ERROR:0] global /home/wangweinan/prj/opencv-4.5.0/modules/dnn/src/onnx/onnx_importer.cpp (1786) handleNode DNN/ONNX: ERROR during processing node with 1 inputs and 1 outputs: [ReduceMean]:(/visual/ln_pre/ReduceMean_output_0)
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.0) /home/wangweinan/prj/opencv-4.5.0/modules/dnn/src/onnx/onnx_importer.cpp:1797: error: (-2:Unspecified error) in function 'handleNode'
> Node [ReduceMean]:(/visual/ln_pre/ReduceMean_output_0) parse error: OpenCV(4.5.0) /home/wangweinan/prj/opencv-4.5.0/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "keepdims" not found into dictionary in function 'get'
> 
已放弃 (核心已转储)

我使用自己转换的cn_clip模型也是有类似的错误

[ERROR:0] global /home/wangweinan/prj/opencv-4.5.0/modules/dnn/src/onnx/onnx_importer.cpp (1786) handleNode DNN/ONNX: ERROR during processing node with 2 inputs and 1 outputs: [Unsqueeze]:(/visual/Unsqueeze_output_0)
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.0) /home/wangweinan/prj/opencv-4.5.0/modules/dnn/src/onnx/onnx_importer.cpp:1797: error: (-2:Unspecified error) in function 'handleNode'
> Node [Unsqueeze]:(/visual/Unsqueeze_output_0) parse error: OpenCV(4.5.0) /home/wangweinan/prj/opencv-4.5.0/modules/dnn/src/onnx/onnx_importer.cpp:1309: error: (-215:Assertion failed) node_proto.input_size() == 1 in function 'handleNode'
> 

请问这个问题有什么思路吗,如果不使用OpenCV有其他的C++ onnxruntime部署 cn_clip 的思路嘛

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.