You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to import Tiny-YOLO v2 into Unity under the following conditions:
Model : tinyyolov2-7.onnx(ONNX Model Zoo)
OS : Windows 10
Unity version : 2017.4.25f1 (64-bit)
Barracuda version : 1.3.0
At that time, I received the following message and failed.
I think Barracuda supports "Tiny-YOLO v2".
Did I make a mistake in building my environment?
We do import onnx tiny-yolov2-7 zoo model.
This crashes in google's protobuf importer. My guess is that the model is corrupted.
I wouldn't be surprised that it doesn't load in onnxruntime aswell
Hello. Thank you for the wonderful project.
I tried to import Tiny-YOLO v2 into Unity under the following conditions:
Model : tinyyolov2-7.onnx(ONNX Model Zoo)
OS : Windows 10
Unity version : 2017.4.25f1 (64-bit)
Barracuda version : 1.3.0
At that time, I received the following message and failed.

I think Barracuda supports "Tiny-YOLO v2".
Did I make a mistake in building my environment?
The error message is:
InvalidProtocolBufferException: Protocol message contained a tag with an invalid wire type.
Google.Protobuf.UnknownFieldSet.MergeFieldFrom (Google.Protobuf.CodedInputStream input) (at T:/src/github/protobuf/csharp/src/Google.Protobuf/UnknownFieldSet.cs:232)
Google.Protobuf.UnknownFieldSet.MergeFieldFrom (Google.Protobuf.CodedInputStream input) (at T:/src/github/protobuf/csharp/src/Google.Protobuf/UnknownFieldSet.cs:222)
Google.Protobuf.UnknownFieldSet.MergeFieldFrom (Google.Protobuf.UnknownFieldSet unknownFields, Google.Protobuf.CodedInputStream input) (at T:/src/github/protobuf/csharp/src/Google.Protobuf/UnknownFieldSet.cs:257)
Onnx.ModelProto.MergeFrom (Google.Protobuf.CodedInputStream input) (at Library/PackageCache/com.unity.barracuda@fd3de8935d/Barracuda/Runtime/ONNX/Generated/Onnx.cs:1645)
Unity.Barracuda.ONNX.ONNXModelConverter.Convert (Google.Protobuf.CodedInputStream inputStream) (at Library/PackageCache/com.unity.barracuda@fd3de8935d/Barracuda/Runtime/ONNX/ONNXModelConverter.cs:100)
Unity.Barracuda.ONNX.ONNXModelConverter.Convert (System.String filePath) (at Library/PackageCache/com.unity.barracuda@fd3de8935d/Barracuda/Runtime/ONNX/ONNXModelConverter.cs:83)
Unity.Barracuda.ONNXModelImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) (at Library/PackageCache/com.unity.barracuda@fd3de8935d/Barracuda/Editor/ONNXModelImporter.cs:58)
UnityEditor.AssetImporters.ScriptedImporter.GenerateAssetData (UnityEditor.AssetImporters.AssetImportContext ctx) (at :0)
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
The text was updated successfully, but these errors were encountered: