Commit
·
6d14540
1
Parent(s):
1459633
update to inference engine
Browse files- README.md +7 -11
- info.json +5 -2
- model-small_opset19.sentis +0 -3
- model-small_opset19.onnx → models/model-small_opset19.onnx +0 -0
README.md
CHANGED
@@ -2,22 +2,18 @@
|
|
2 |
license: mit
|
3 |
library_name: unity-sentis
|
4 |
pipeline_tag: depth-estimation
|
|
|
|
|
5 |
---
|
6 |
|
7 |
-
## MiDaS depth estimation model in Unity Sentis format (Version 1.3.0-pre.3*)
|
8 |
-
*Version 1.3.0 Sentis files are not compatible with Sentis 1.4.0 and need to be recreated/downloaded
|
9 |
|
10 |
-
|
|
|
11 |
|
12 |
## How to Use
|
13 |
-
|
14 |
-
|
15 |
-
To use *.sentis precompiled file, place the file in the Assets/StreamingAssets folder. And replace the loading code with:
|
16 |
-
```
|
17 |
-
Model model = ModelLoader.Load(Application.streamingAssetsPath +"/model-small_opset19.sentis");
|
18 |
-
```
|
19 |
|
20 |

|
21 |
|
22 |
-
##
|
23 |
-
|
|
|
2 |
license: mit
|
3 |
library_name: unity-sentis
|
4 |
pipeline_tag: depth-estimation
|
5 |
+
tags:
|
6 |
+
- unity-inference-engine
|
7 |
---
|
8 |
|
|
|
|
|
9 |
|
10 |
+
## MiDaS in Unity 6 with Inference Engine
|
11 |
+
[MiDaS](https://pytorch.org/hub/intelisl_midas_v2/) is a depth estimation model that can be used in Unity using Inference Engine.
|
12 |
|
13 |
## How to Use
|
14 |
+
Example source code to run this model can be found at: [[Source Code](https://github.com/Unity-Technologies/inference-engine-samples/tree/main/DepthEstimationSample)
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |

|
17 |
|
18 |
+
## Inference Engine
|
19 |
+
Inference Engine is a neural network inference library for Unity. Find out more [here](https://docs.unity3d.com/Packages/com.unity.ai.inference@latest).
|
info.json
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
{
|
2 |
-
"sampleURL": "https://github.com/Unity-Technologies/
|
3 |
"models": [
|
4 |
-
"model-small_opset19.
|
|
|
|
|
|
|
5 |
]
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"sampleURL": "https://github.com/Unity-Technologies/inference-engine-samples/tree/main/DepthEstimationSample",
|
3 |
"models": [
|
4 |
+
"models/model-small_opset19.onnx"
|
5 |
+
],
|
6 |
+
"version": [
|
7 |
+
"2.2.0"
|
8 |
]
|
9 |
}
|
model-small_opset19.sentis
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:6a20b538add4774d6fa62e46f6bdcc02d136dc3e8c0ddd22ae1ec209ddf973e7
|
3 |
-
size 66433523
|
|
|
|
|
|
|
|
model-small_opset19.onnx → models/model-small_opset19.onnx
RENAMED
File without changes
|