Coder Social home page Coder Social logo

pinto0309 / facemesh_onnx_tensorrt Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 6.0 112 KB

Verify that the post-processing merged into FaceMesh works correctly. The object detection model can be anything other than BlazeFace. YOLOv4 and FaceMesh committed to this repository have modified post-processing.

License: Apache License 2.0

Python 100.00%
cuda facemesh onnx python tensorrt

facemesh_onnx_tensorrt's People

Contributors

pinto0309 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

facemesh_onnx_tensorrt's Issues

question onxx on deepstream

hello,

do you think it would be possible ot run these onnx models on nvidia deepstream using nvinfer ?
i think it can read onnx, but i don't know enough if this would work.

thanks,
tom

Error with pre-trained models

Hi Pinto, i would like to test your programme, but i think i have an error with pre-trained models because i am not rebuilding ther on my plateform.
I work with a JetsonNX with jetpack 4.4 (i can use 4.6 i that needed), with cuda 10.2, cudnn 8.0, onnx==1.11.0, onnxgraphsurgeon==0.3.9, onnx-tensorrt==7.2.2.3.0, onnxruntime==1.8.0

My error is at yolov4_headdetection_480x640_post.onnx:

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from yolov4_headdetection_480x640_post.onnx failed:/mnt/vss/_work/1/s/onnxruntime/core/graph/model.cc:111 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&) Unknown model file format version.

When i change my model by yolov4 headdetection 480x640.onnx, i have an error on the next model face_mesh_Nx3x192x192 _post.onnx :

onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from face_mesh_Nx3x192x192_post.onnx failed:/mnt/vss/_work/1/s/onnxruntime/core/graph/model.cc:111 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&) Unknown model file format version.

If i'm understand well, i must convert my model to post format model, but i don't really understand how i can do that.
I read the "facemesh_postprocess.py", but i'm don't understand how i can use it.

Is it possible for you, to explain how i can obtain these post models converted on my platform?
Or what version of onnxruntime i must have ?

Thank you for your answer :)

onnxruntime::Model::Model Unknown model file format version.

error
read_config_from_model)
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from yolov4_headdetection_480x640_post.onnx failed:D:\3\s\onnxruntime\core\graph\model.cc:110 onnxruntime::Model::Model Unknown model file format version.

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.