barracuda-release icon indicating copy to clipboard operation
barracuda-release copied to clipboard

Unknown type LayerNormalization (Depth Anything ONNX)

Open Antilegal opened this issue 1 year ago • 1 comments

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.

Antilegal avatar Jan 29 '24 13:01 Antilegal

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!

LiutaurasVy avatar Jan 29 '24 14:01 LiutaurasVy