Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
Signed-off-by: terrytangyuan <[email protected]>
  • Loading branch information
terrytangyuan committed Apr 16, 2021
1 parent 3000de1 commit b5037a2
Show file tree
Hide file tree
Showing 23 changed files with 51 additions and 42 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ tests/testthat/inst/super_resolution.onnx
index.Rmd
.travis.yml
^_pkgdown\.yml$
^CRAN-RELEASE$
.github
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.RData
.Ruserdata
*.DS_STORE
CRAN-RELEASE
18 changes: 0 additions & 18 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
# Generated by roxygen2: do not edit by hand

S3method(check,onnx_pb2.AttributeProto)
S3method(check,onnx_pb2.GraphProto)
S3method(check,onnx_pb2.ModelProto)
S3method(check,onnx_pb2.NodeProto)
S3method(check,onnx_pb2.TensorProto)
S3method(print_readable,onnx_pb2.AttributeProto)
S3method(print_readable,onnx_pb2.GraphProto)
S3method(print_readable,onnx_pb2.NodeProto)
S3method(print_readable,onnx_pb2.ValueInfoProto)
export(check)
export(load_from_file)
export(load_from_string)
export(make_attribute)
export(make_graph)
export(make_node)
export(make_tensor)
export(make_tensor_value_info)
export(print_readable)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ This is the R Interface to [Open Neural Network Exchange (ONNX)](https://onnx.ai
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](http://onnx.ai/supported-tools) 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.
ONNX is [widely supported](https://onnx.ai/supported-tools) 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](https://onnx.ai/onnx-r) for tutorials and API reference for using ONNX in R.
Please visit [here](https://onnx.ai/onnx-r/) for tutorials and API reference for using ONNX in R.
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/onnx_model_zoo.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
4 changes: 2 additions & 2 deletions docs/articles/protobufs.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions docs/articles/protobufs_files/header-attrs-2.7/header-attrs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
2 changes: 1 addition & 1 deletion docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pkgdown_sha: ~
articles:
onnx_model_zoo: onnx_model_zoo.html
protobufs: protobufs.html
last_built: 2021-04-16T18:05Z
last_built: 2021-04-16T18:31Z

2 changes: 1 addition & 1 deletion docs/reference/checker.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/load_from_file.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/load_from_string.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/maker.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/onnx.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/print_readable.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/onnx_model_zoo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ In this tutorial, you'll learn how to use a backend to load and run a ONNX model

First, install ONNX TensorFlow backend by following the instructions [here](https://github.com/onnx/onnx-tensorflow).

Then download and extract the tarball of [ResNet-50](https://github.com/onnx/models/tree/master/resnet50).
Then download and extract the tarball of [ResNet-50](https://github.com/onnx/models/tree/master/vision/classification/resnet).

Next, we load the necessary R and Python libraries (via [reticulate](https://rstudio.github.io/reticulate/)):

Expand Down

0 comments on commit b5037a2

Please sign in to comment.