-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LeafSnap30 model #567
base: main
Are you sure you want to change the base?
LeafSnap30 model #567
Conversation
Pasting the ONNX models PR template.
Description text, License and Contributers
Added more contributors
The model has passed the ONNX checker.
Removed the Gradio demo section for now.
Update README.md- Description, contribution and License
Co-authored-by: Pranav Chandramouli <[email protected]>
Fixed relative path to model
Update README.md
Inference section.
Update README.md
Update README.md
Update README.md
Add model creation section
Hello, is anybody looking at PRs for model contributions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, is anybody looking at PRs for model contributions?
Sorry for late reply/review...
Thank you so much for the contribution. The models are good with onnx.checker and onnxruntime. Please signoff you commit to pass DCO. The instructions are here: https://github.com/onnx/onnx/blob/main/CONTRIBUTING.md#dco.
Since you already have a lot of commits, perhaps having another new identical PR with signoff commits would be faster. Please let me know if you have questions about signoff. Thanks!
|Model |Download | Download (with sample test data)|ONNX version|Opset version|Accuracy | | ||
|-------------|:--------------|:--------------|:--------------|:--------------|:--------------| | ||
|Model Name | Relative link to ONNX Model with size | tar file containing ONNX model and synthetic test data (in .pb format)|ONNX version used for conversion| Opset version used for conversion|Accuracy values | | ||
|LeafSnap30| [1.48 MB](model/leafsnap_model.onnx) | [1.55 MB](model/leafsnap30.tar.gz) | 1.9.0 |11 | train: 95%, validation: 86, test: 83% | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest using leafsnap-11.onnx as the model name (to represent the used opset_version) and please use consistent name for the .tar.gz file like leafsnap-11.tar.gz.
@@ -1,6 +1,6 @@ | |||
<!--- SPDX-License-Identifier: Apache-2.0 --> | |||
|
|||
# ONNX Model Zoo | |||
# ONNX Model Zoo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary?
Leaf Snap30
Description
Description of model - What task does it address (i.e. object detection, image classification)? What is the main advantage or feature of this model's architecture?
All ONNX models must pass the ONNX model checker before contribution. The snippet of code below can be used to perform the check. If any errors are encountered, it implies the check has failed.
Contribute a Gradio Demo to ONNX Organization on Hugging Face
Model
Please submit new models with Git LFS by committing directly to the repository, and using relative links (i.e. model/vgg19-7.onnx) in the table above. In this file name example, vgg19 is the name of the model and 7 is the opset number.
Source
Source Framework ==> ONNX model
i.e. Caffe2 DenseNet-121 ==> ONNX DenseNet
Inference
Step by step instructions on how to use the pretrained model and link to an example notebook/code. This section should ideally contain:
Input
Input to network (Example: 224x224 pixels in RGB)
Preprocessing
Preprocessing required
Output
Output of network
Postprocessing
Post processing and meaning of output
Model Creation
Dataset (Train and validation)
This section should discuss datasets and any preparation steps if required.
Training
Training details (preprocessing, hyperparameters, resources and environment) along with link to a training notebook (optional).
Also clarify in case the model is not trained from scratch and include the source/process used to obtain the ONNX model.
Validation accuracy
Validation script/notebook used to obtain accuracy reported above along with details of how to use it and reproduce accuracy. Details of experiments leading to accuracy from the reference paper.
Test Data Creation
Creating test data for uploaded models can help CI to verify the uploaded models by ONNXRuntime utilties. Please upload the ONNX model with created test data (
test_data_set_0
) in the .tar.gz.Requirement
Usage
Example
The input/output .pb files will be produced under
temp/examples/test1/test_data_set_0
.More details
https://github.com/microsoft/onnxruntime/blob/master/tools/python/PythonTools.md
Update ONNX_HUB_MANIFEST.json for ONNX Hub
If this PR does update/add .onnx or .tar.gz files, please use
python workflow_scripts/generate_onnx_hub_manifest.py --target diff
to update ONNX_HUB_MANIFEST.json with according model information (especially SHA) for ONNX Hub.References
Link to paper or references.
Contributors
Contributors' names
License
Add license information - on default, Apache 2.0