-
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
add googlenet, inception_v1 and shufflenet-v2 qdq models #570
Conversation
Signed-off-by: mengniwa <mengni.wang@intel.com>
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.
Thank you for adding more qdq models! I have tested test_data_set_0 on a VNNI machine and only shufflenet-v2-12-qdq.tar.gz
encountered output mismatch failure. Could you please regenerate its input.pb/output.pb on your VNNI machine? After the update, it's possible that current CI in ONNX Model Zoo will fail. I will take care of it by #572. In that case, please ignore them for now. Thanks.
Signed-off-by: mengniwa <mengni.wang@intel.com>
e5bcff9
to
874160a
Compare
Sorry for my late update, current test data is generated by VNNI machine. |
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.
No worries -- thank you for the update! I saw Linux-CI failed due to incorrect ONNX_HUB_MANIFEST.json. Could you please regenerate ONNX_HUB_MANIFEST.json
with the updated model by python workflow_scripts/generate_onnx_hub_manifest.py --target diff
?
Signed-off-by: mengniwa <mengni.wang@intel.com>
I try |
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.
Thanks for the update!
FYI I found that current .qdq models might have unused domain in opset_imports: #571 (comment). Going forward we should only keep the used domain in the ONNX model.
Got it. Actually, the original FP32 model only has one or two domains and we don't add other domains manually. |
@mengniwang95 We are updating tutorial/model contributor list with contributors from last year. I wonder if there is anyone that has made significant contribution to models in your PR, please let me know so I can add them to the list. Thank you! Liqun |
Hi, please add yuwenzho, thx |
|
Signed-off-by: mengniwa mengni.wang@intel.com
GoogleNet
Description
GoogLeNet is the name of a convolutional neural network for classification,
which competed in the ImageNet Large Scale Visual Recognition Challenge in 2014.
Differences:
Dataset
ILSVRC2014
Source
Caffe BVLC GoogLeNet ==> Caffe2 GoogLeNet ==> ONNX GoogLeNet
Model input and output
Input
Output
Pre-processing steps
Necessary Imports
Obtain and pre-process image
Post-processing steps
Sample test data
random generated sample test data:
Results/accuracy on test set
This bundled model obtains a top-1 accuracy 68.7% (31.3% error) and
a top-5 accuracy 88.9% (11.1% error) on the validation set, using
just the center crop. (Using the average of 10 crops,
(4 + 1 center) * 2 mirror, should obtain a bit higher accuracy.)
Quantization
GoogleNet-int8 and GoogleNet-qdq are obtained by quantizing fp32 GoogleNet model. We use Intel® Neural Compressor with onnxruntime backend to perform quantization. View the instructions to understand how to use Intel® Neural Compressor for quantization.
Environment
onnx: 1.9.0
onnxruntime: 1.8.0
Prepare model
Model quantize
Make sure to specify the appropriate dataset path in the configuration file.
References
Going deeper with convolutions
Intel® Neural Compressor
Contributors
License
BSD-3