Comments (7)
cc @justinchuby
from onnx.
Was the model in eval() mode?
from onnx.
Was the model in eval() mode?
yes, in my code, i set model in the eval mode and the fuction result_test in the code what i show above just change to eval model, but the out is also different.
from onnx.
How different are they? Do you have the absolute difference numbers?
from onnx.
Do you have the absolute difference numbers
the difference of input A is:
[[[2.9802322e-08 5.9604645e-08 5.9604645e-08 0.0000000e+00 2.9802322e-08
1.1920929e-07 5.9604645e-08 0.0000000e+00 0.0000000e+00 0.0000000e+00]
[2.0861626e-07 1.7881393e-07 1.7881393e-07 2.3841858e-07 1.6391277e-07
1.1920929e-07 1.7881393e-07 1.1920929e-07 2.3841858e-07 2.3841858e-07]]]
the difference of input B is:
[[[2.5670528e-03 2.4108291e-03 2.4752617e-03 2.3699999e-03 2.5104880e-03
2.3846626e-03 2.3943782e-03 2.5292635e-03 2.3947954e-03 2.4846196e-03]
[3.7431717e-05 1.3673306e-04 9.0770423e-05 1.0877848e-04 2.3484230e-05
1.0919571e-04 1.3816357e-04 1.1563301e-05 1.4400482e-04 9.0532005e-05]]]
i hope the difference will less than 1e-5
from onnx.
Since the error is unlikely due to export errors (judging by the difference above), I suggest creating an issue in the microsoft/onnxruntime repository for further assistance.
from onnx.
Since the error is unlikely due to export errors (judging by the difference above), I suggest creating an issue in the microsoft/onnxruntime repository for further assistance.
ok, thanks a lot
from onnx.
Related Issues (20)
- Numpy 2.0.0rc2 causes `pytest` on ONNX to fail HOT 2
- How to modify Slice attribute HOT 4
- Error While Installing ONNX HOT 3
- Export onnx model from pytorch with dynamic input size, output tensor doesn't match. HOT 9
- Discussion on the Correct Approach for Converting ONNX Models to Other Frameworks HOT 2
- Way to swap parameters inside .onnx graph (LoRA functionality) HOT 6
- docs/Operators.md missing input type description at Constant HOT 1
- React Native Support HOT 1
- [Question] Where is `onnx-operators-ml.pb.h` HOT 1
- onnx.shape_inference.infer_shapes creates a blank graph when passed a >2GB model HOT 1
- Test using bfloat16 and model input/output HOT 1
- Missing type support in parser for various types (float16, bfloat16, ...)
- INT4 TensorProto byte size is 5x larger than expected with negative values
- The PixelUnshuffle op Cannot be converted to SpaceToDepth HOT 2
- OperatorSetProto.onnx: the instance of immutable operator set domain ai.onnx and ai.onnx.ml HOT 1
- Please specify the behavior of min > max in Clip HOT 1
- Any operation to convert "Tile" to "Slice" HOT 1
- Expected output of QLinearMatMul: using astype or np.clip?
- How to use onnx.utils.extract_model to extract more than 2GB child onnx model ? HOT 2
- terminated by signal SIGSEGV (Address boundary error) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnx.