I'm trying to embed a model that I trained in my c# unity script. By doing something like this
using UnityEngine;
using UnityEngine.UI;
using MLAgents;
public class loadImage : MonoBehaviour {
public NNModel modelSource;
var model = ModelLoader.Load(modelSource);
This was prescribed by these barracuda docs on unity's github. However, i get the error
The type or namespace 'NModel' could not be found. Are you missing a using directive or assembly reference?
Don't really know how I could be adding that Quite new to c# and Unity programming, so the cause for this error could be rather basic. Am I forgetting something?
Thanks!