Unity-Technologies / barracuda-release

Other
564 stars 76 forks source link

Unknown type LayerNormalization (Depth Anything ONNX) #335

Open Antilegal opened 7 months ago

Antilegal commented 7 months ago

Hello. Is there a way to make Depth Anything work in Unity?

Unity Version: 2021.3.32f1 Barracuda Version: 3.0.1

Input ONNX (base model): https://github.com/fabio-sim/Depth-Anything-ONNX/releases

Console output: OnnxImportException: Unknown type LayerNormalization encountered while parsing layer /blocks.0/norm1/LayerNormalization_output_0.

Asset import failed, "Assets/ONNX/depth_anything_vitb14.onnx" > OnnxImportException: Unknown type LayerNormalization encountered while parsing layer /blocks.0/norm1/LayerNormalization_output_0.

LiutaurasVy commented 7 months ago

Hi, Thank you for reporting this issue! Can you please check if the same issue still reproduces with the Sentis 1.3.0-pre.3 package? The Sentis package is the new version of Barracuda, you can learn more about it here. If your problem still exists after upgrading, please report your issue in Sentis Discussions forum. Thanks!