-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with Unity Barracuda Inference Engine #113
Comments
Unfortunately, the grouped convolutions are an integral part of the ResNeXt backbone and can't be removed without fundamentally changing the architecture and requiring complete re-training. You could try having a look at the "small" model to see if it is accurate enough for your application: https://github.com/intel-isl/MiDaS/releases/download/v2_1/model-small.onnx If I remember correctly, the backbone has groups == 1 or groups == input_channel_size throughout, so this should work according to the specs mentioned by @FlorentGuinier. The small model has lower accuracy, but on the upside should be closer to your real-time requirements. |
Thanks a lot for your prompt answer @ranftlr, I will test with the small model and report my results! |
https://github.com/GeorgeAdamon/monocular-depth-unity @ranftlr It worked! I used the small .onnx model as you suggested. Sustained 60fps on GTX970 (amazing) Thanks for your help! |
Hello,
I'm linking to an issue I have raised with Unity, related to the integration of the MiDaS .onnx model with Unity's Barracuda engine.
Unity-Technologies/barracuda-release#187
As @FlorentGuinier from Unity pointed out:
I was hoping that you could shed some light into this issue.
Thanks for your time!
The text was updated successfully, but these errors were encountered: