Giter Club home page Giter Club logo

pp-humanseg-opencv-onnxrun's Introduction

PP-HumanSeg-opencv-onnxrun

分别使用OpenCV、ONNXRuntime部署PP-HumanSeg肖像分割模型,包含C++和Python两个版本的程序

百度PaddlePaddle团队发布的PP-HumanSeg人像分割模型,功能挺强的。 原始程序需要依赖PaddlePaddle框架才能运行,于是我编写了一套分别使用OpenCV、ONNXRuntime部署PP-HumanSeg肖像分割 的程序,彻底摆脱对任何深度学习框架的依赖,.onnx模型文件很小,只有5.9M,可以直接上传到github仓库里。

pp-humanseg-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

Watchers

 avatar

pp-humanseg-opencv-onnxrun's Issues

PaddleSeg导出的onnx模型与云盘提供的OUTPUTS格式不一样

1、仓库提供的model_float32.onnx模型的OUTPUTS格式为name: tf.identity、type: float32[1,192,192,2]
image

2、自己按照PaddleSeg
官方指导
导出的pp_liteseg_stdc2.onnx模型的OUTPUTS格式为name: argmax_0.tmp_0、type: int64[-1,-1,-1]
image
3、使用大佬提供的模型可以跑成功,但换成我自己导出的这个就没有结果,可则个pp_liteseg_stdc2.onnx模型使用PaddleSeg提供的Python版本的deploy/python/infer_onnx.py程序又可以出正确的结果。
4、所以请问大佬的onnx模型导出是自己写的导出程序还是PaddleSeg官方提供的程序导出的,如何得到与提供的model_float32.onnx模型相同的的OUTPUTS格式,我试过导出多个PaddleSeg模型,感觉OUTPUTS格式都一样

Invalid Feed Input Name

terminate called after throwing an instance of 'Ort::Exception'
what(): Invalid Feed Input Name:�#�qtU
已放弃 (核心已转储)

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.