dotnet / dotnet/machinelearning-samples

Query about outdated Unity Sample

Open
#981 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
4.7k
Forks
2.7k
Avg merge
2d 22h
Merged PRs (30d)
1

Description

I am trying to adapt some code in the Unity sample in this project in my own project (targeting Meta Quest 2) and using my own models from here: https://github.com/dotnet/machinelearning-samples/blob/main/samples/csharp/end-to-end-apps/Unity-HelloMLNET/HelloMLNET/Assets/Scenes/HelloML.cs

However, it seems that the `ArrayDataViewBuilder` class is now an internal sealed class, and it cannot be accessed by external classes. This was documented as a workaround for `PredictionEngine` since it made use of `Reflection.Emit` which apparently "throws up": https://github.com/dotnet/machinelearning-samples/tree/main/samples/csharp/end-to-end-apps/Unity-HelloMLNET#known-workarounds

What is a solution for this? I am in a position where I absolutely need a solution to this in the next 72 hours.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.