Comments (7)
Thank you very much @doughtmw for the quick reply. I have also got it working. @NTUZZH I trained my custom model via ML.net through Azure ML (Image Classification) and got an ONNX file. The we can use the sample from Mr. doughtmw, and adapt the scripts according to our model. The only place now I am checking is whether the labelled data must be a Json file or can it be done also with TXT file. I just have one more question @doughtmw, whether the sample can also be adapted for Object Detection Model and could you please give some references or any github sample where by an object detection is carried out with an ONNX file locally in HL2 itself? Since I am kind of new to coding, I am not sure how to code the Bounding Boxes. Please do help me with this issue.
from hololens2-machine-learning.
SAME PROBLEM HERE. How to deal with this Error?
from hololens2-machine-learning.
Hi @Avinash0795 and @NTUZZH, the HL2 build version could be a factor but a more likely issue could be due to incorrect formatting of the ONNX model in Visual Studio. Be sure to follow all steps in the README for copying the ONNX model into the correct location after building your Visual Studio project as well as setting the ONNX model properties. Here's a similar recent issue on this repo with a suggested solution.
from hololens2-machine-learning.
Dear @doughtmw ,
Yes I reset the path of the model.onnx and make it inside of Asset file, then it works! So yes please make sure the model.onnx to be inside of Asset file. Thanks a lot!
May i ask for your suggestions, what should i do if i want to use my own dataset to recognize the images? Should I first train the images through the tensorflow and then import the training dataset as a ONNX file?
from hololens2-machine-learning.
Thank you very much @doughtmw for the quick reply. I have also got it working. @NTUZZH I trained my custom model via ML.net through Azure ML (Image Classification) and got an ONNX file. The we can use the sample from Mr. doughtmw, and adapt the scripts according to our model. The only place now I am checking is whether the labelled data must be a Json file or can it be done also with TXT file. I just have one more question @doughtmw, whether the sample can also be adapted for Object Detection Model and could you please give some references or any github sample where by an object detection is carried out with an ONNX file locally in HL2 itself? Since I am kind of new to coding, I am not sure how to code the Bounding Boxes. Please do help me with this issue.
Hi @Avinash0795, noted and thanks for your information. I'm just like you and some kind of new hand to C# coding. So i'm also very interested in your issue that how to use the Object Recognition to give the object of interest the Bounding Boxes.
And @doughtmw thank u sir.
from hololens2-machine-learning.
Respected Sir,
I have another Question. Will this work even if the Application is setup for MixedReality. Because somehow
after I included the Mixed Reality Toolkit to the Scene, the Text is not being seen. Is there any Idea regarding
this issue. I tried changing the Text to Text Meshpro but still somehow it didnot work out.
It would be great if you could guide me through this.
from hololens2-machine-learning.
Hi , I just tried running the sample , I do copy and paste the ONNX file to the builds/assets, but when setting up the properties of that file, there is no file type "document". Is there any alternative file type to use?
from hololens2-machine-learning.
Related Issues (17)
- Issue with input size for WinML models HOT 2
- Running on GPU - Prediction not happening HOT 1
- Detection vs Probablity Threshold HOT 1
- Object reference not set to an instance of an object
- "Value does not fall within the expected range" HOT 1
- How to unproject a 2D point in an captured image back to its accurate location in the physical world?
- Can't use custom ONNX file HOT 1
- Issue with model.onnx
- Parameter is incorrect when using own trained model HOT 1
- Video Frame settings question. HOT 1
- EfficientDet D0 how to run HOT 1
- unity main camera scripts HOT 1
- Run on GPU HOT 1
- Image not getting predicted
- Error init: Unable to find the specified file HOT 2
- Certificate expired HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hololens2-machine-learning.