Course: Neural Network Engine (NNE)

@Suthriel @ranierin I was able to run DepthAnything V2 in NNE ORT CPU, found the proper model here

Releases · fabio-sim/Depth-Anything-ONNX (github.com)

tested with depth_anything_v2_vits_dynamic.onnx from the repo

The model is IR_Version 8 and Opset Version 17, I guess I misunderstood how the IR_Version works, it depends on the version of ONNX used to convert the model, so I guess for the current version of NNE (ONNX Runtime 1.14), we would need any model to be converted using max ONNX 1.13 which uses IR_Version 8 and max Opset Version 18 as long as the model layers are supported in that Opset 18 as per the compatibility table above.

@ranierin does this make sense ? correct me if I wrong

attached is the code, a sample image and the generated depth map

DepthAnythingActor.cpp (9.1 KB)
DepthAnythingActor.h (1.6 KB)

@Suthriel what do you want to build with the Model ? I might be able to help out

2 Likes