Giter Club home page Giter Club logo

onnx-r's Introduction

Note: This package has been maintained by @terrytangyuan since 2018. Please consider sponsoring!

This is the R Interface to Open Neural Network Exchange (ONNX). ONNX is an open ecosystem that empowers AI developers to choose the right tools as their project evolves. ONNX provides an open source format for AI models, both deep learning and traditional ML. It defines an extensible computation graph model, as well as definitions of built-in operators and standard data types. Currently we focus on the capabilities needed for inferencing (scoring).

ONNX is widely supported and can be found in many frameworks, tools, and hardware. Enabling interoperability between different frameworks and streamlining the path from research to production helps increase the speed of innovation in the AI community.

Please visit here for tutorials and API reference for using ONNX in R.

onnx-r's People

Contributors

asiripanich avatar terrytangyuan 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

Watchers

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

onnx-r's Issues

Support Flatbuffer format

From Susan:

I see using protobufs to interface with ONNX http://onnx.ai/onnx-r/articles/protobufs.html- Thinking aloud - I wonder if ONNX will also support the format that Tensorflow Lite supports (Flatbuffers) instead of protobufs - and therefore will ONNX-R eventually support Flatbuffers.

From Chin:

As far as the FlatBuffer format, I don't see ONNX APIs directly support it in near future. But I did hear a suggestion to build a TF Liter converter in one of my ONNX Converters SIG meetings. Currently we are still waiting for takers to looking into the details. Meanwhile, one could convert between ONNX and FlatBuffer via ONNX <->Tensorflow converters.

Support for Saving Models

Hi, are there any plans to support saving models in ONNX format, similar to the PMML library? Something like:

library(onnx)

model <- lm(Species ~ ., iris)
onnx(model)

python module onnx was not found

Is there a way you are supposed to set the path of python configuration for R?

library(onnx)
node_def <- make_node("Relu", list("X"), list("Y"))
Error: Python module onnx was not found.

Detected Python configuration:

python: /usr/bin/python
libpython: /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
pythonhome: /usr:/usr
version: 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
numpy: /usr/lib/python2.7/dist-packages/numpy
numpy_version: 1.11.0
onnx: [NOT FOUND]

python versions found:
/usr/bin/python
/usr/bin/python3
/home/jichiang/anaconda3/bin/python

Renaming `master` to `main`

Hello ONNX partner,

Based on best practices at most of the ONNX member companies, the ONNX community is recommending that we rename the master branch in our repos as main.

GitHub has simplified the process as described at https://github.com/github/renaming. Please switch over once all dependencies are aware of the change.

Thanks!

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.