UnityGiles commited on
Commit
6d14540
·
1 Parent(s): 1459633

update to inference engine

Browse files
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
- This is a depth estimation model that is confirmed to run in Unity 2023 based on [MiDaS](https://pytorch.org/hub/intelisl_midas_v2/).
 
11
 
12
  ## How to Use
13
- Source code to run this model can be found at: [Source Code](https://github.com/Unity-Technologies/sentis-samples/tree/main/DepthEstimationSample)
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
  ![preview](preview.gif)
21
 
22
- ## Unity Sentis
23
- Unity Sentis is the inference engine that runs in Unity 3D. More information can be found at [here](https://unity.com/products/sentis)
 
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
  ![preview](preview.gif)
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/sentis-samples/tree/main/DepthEstimationSample",
3
  "models": [
4
- "model-small_opset19.sentis"
 
 
 
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