Replies: 2 comments 1 reply
|
@marlenaklein-msft should be able to assist here |
|
My bad @AMollis, I thought the bug would be logged here but yes it should be MixedRealityLearning. @dldnwlsgd to make sure it's not an authentication problem, can you please confirm that you have one key/endpoint pair one for your custom vision resource and another set of credentials for the corresponding prediction resource? (The tutorial will describe where to set these credentials. If you have one but not the other, you may be able to authenticate only some of the steps). If the credentials are set properly, there may be a problem with the training itself. To train a model, you need to have at least two tags and five images per tag. The tutorial links instructions for how to add a tag and five images from the custom vision dashboard, which is a necessary step for the later training to work from HL2. Another thing is to make sure the tag used for those first five images added from the dashboard is different from the tag you are using when uploading the second batch of images from HL2, so you hit that two tag requirement.
On the dashboard, can you make sure that you have at least two tags and five images for every tag? If there are and you are still seeing that error, then try training the model manually from the dashboard. This will confirm if it's a problem with the request.
If you are still encountering any problems, could you please file an issue on MixedRealityLearning? (sorry for the misdirection earlier) |


Uh oh!
There was an error while loading. Please reload this page.
In the process of integrating custom vision, I created a custom vision account and entered the key and ID into the 'ObjectDetectionManager'. Afterwards, when I press the Train button in Unity Play mode, the following error appears:
I confirmed that the photo was uploaded to the Custom Vision website, but since then, when I press the "Train" button in Unity, an error continues to appear. Can anyone help me with what problem I'm having?
Exception: PermissionDenied MRTK.Tutorials.AzureCloudServices.Scripts.Managers.ObjectDetectionManager.TrainProject () (at Assets/MRTK.Tutorials.AzureCloudServices/Scripts/Managers/ObjectDetectionManager.cs:113) MRTK.Tutorials.AzureCloudServices.Scripts.Controller.ComputerVisionController.StartModelTraining () (at Assets/MRTK.Tutorials.AzureCloudServices/Scripts/Controller/ComputerVisionController.cs:199) System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <9d9536d9127f4a489d989c7a566aee1c>:0) UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <120b8d04add741329ccd415c000fb666>:0) UnityEngine.UnitySynchronizationContext.Exec () (at <120b8d04add741329ccd415c000fb666>:0) UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <120b8d04add741329ccd415c000fb666>:0)All reactions