-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Why RecursionLimit = 10 in OnnxTransformer? #5585
Copy link
Copy link
Closed
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.onnxExporting ONNX models or loading ONNX modelsExporting ONNX models or loading ONNX modelsusabilitySmoothing user interaction or experienceSmoothing user interaction or experience
Metadata
Metadata
Assignees
Labels
P2Priority of the issue for triage purpose: Needs to be fixed at some point.Priority of the issue for triage purpose: Needs to be fixed at some point.onnxExporting ONNX models or loading ONNX modelsExporting ONNX models or loading ONNX modelsusabilitySmoothing user interaction or experienceSmoothing user interaction or experience
Type
Fields
Give feedbackNo fields configured for issues without a type.
What is the purpose that
Google.Protobuf.CodedInputStream.RecursionLimitis set10at the following code?machinelearning/src/Microsoft.ML.OnnxTransformer/OnnxUtils.cs
Line 208 in 2a6cf9d
It is set
100by default in protocol-buffers C#-wrapper.https://github.com/protocolbuffers/protobuf/blob/10599e6c8dde8a9875258e03054a696d53cadebd/csharp/src/Google.Protobuf/CodedInputStream.cs#L83
I could not load some network /
.onnxfile by the following exception be caused byRecursionLimit = 10without the monkey-patchedMicrosoft.ML.OnnxTransformer.dll.I think that the networks are including
Inceptionconstruction especially.(ex. tensorflow/models`s Faster-RCNN-Inception-V2 converted)
Thank you for coding great tools!