GithubHelp home page GithubHelp logo

asiryan / caffe2onnx Goto Github PK

View Code? Open in Web Editor NEW
53.0 1.0 17.0 170 KB

Convert Caffe models to ONNX.

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
caffe onnx onnxruntime converter prototxt caffemodel neural-networks onnx-models ssd resnet

caffe2onnx's Introduction

Hi there ๐Ÿ‘‹, I'm

๐ŸŽ“ bachelor of information technology
๐ŸŽ“ master of computer science
๐Ÿ† team lead in DM Basis Technologies [Skolkovo]
๐Ÿ† chief technical officer in Retail Robotics Solutions [Astana Hub]/[Station F]
โญ๏ธ C# / Python / MATLAB developer
โญ๏ธ researcher interested in digital signal processing & deep learning

โšก๏ธ Publications: V.M. Asiryan, et al - Weyl-Heisenberg Transform Capabilities in JPEG Compression Standard (IEEE) and more
โšก๏ธ Contributions: onnx/models - a collection of pre-trained, state-of-the-art models in the ONNX format
โšก๏ธ NuGet: UMapx, FaceONNX, OpenJDK.BigMathNET and more // ๐Ÿ”ฅ over 200K downloads
โšก๏ธ PyPI: caffe2onnx and more
๐Ÿ”— Replicate: me on replicate
๐Ÿ”— HuggingFace: me on huggingface

โ˜•๏ธ Want to support me or buy me a coffee?

โค๏ธ USD: Become my GitHub sponsor
๐Ÿ’Ž USDT (TRC20): TQuQiBY5wnV9Uam1ahxPa34iRSm37g1RJj
๐Ÿ’Ž BTC: 14PurPkN2AznasQTcDP7HtmMEQbMWFTELR
๐Ÿ’Ž TON: UQDCoVoUAuSXDmKhsPoINpnHhQ6XU_iZL3zS0xsYF4rbnhmR

๐Ÿ’ฌ Want to contact me or offer/order a job?

๐Ÿ“ง E-mail: [email protected]
๐Ÿš€ Telegram: asiryan

caffe2onnx's People

Contributors

asiryan 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

caffe2onnx's Issues

Potentially Incorrect Output?

Hi!

Thank you for creating this repo, this was exactly what I was looking for!

I am trying to convert a caffe model to onnx, however, it seems that when I test the model with the same input, the output of the onnx model is different to the original caffe model.

I have attached a link to the .caffemodel and .prototxt that I am working with (as well as the produced onnx model) - github would not allow me to upload a zip file containing the models :( --> https://1drv.ms/u/s!AsfDc4tZ90mEmHlnImwWfaC1asOM
When passing an input image (the input_name is "data_input") of size (1,3,500,500), the caffe model produces the correct output with size (1,21,500, 500) (this is the shape of net.blobs['score'].data.shape), whereas the onnx model produces an output with size (1,3, 500,500). I am using the latest version of caffe2onnx.

Any assistance would be highly appreciated.

Thanks!

Error in converting caffe_xilinx model to onnx

Hi @asiryan
I am trying to convert a caffe_xilinx yolov3 model to onnx.I got this error during conversion

google.protobuf.text_format.ParseError: 2027:3 : Message type "caffe.LayerParameter" has no field named "deephi_resize_param"

I think this deephi_resize_param would be a custom layer built in caffe-xilinx.Can u add support for custom layers ?

SSD Model support

Hi,
Addition of SSD models support would be useful. Do you have any plans to add support for the same?
Example of caffe SSD model can be found here
https://github.com/chuanqi305/MobileNet-SSD

Also Argmax layer support is missing, this would be useful to support segmentation models

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.