Upgrading from MLAgents 2.x, Barracuda/NNMODEL no longer available?

I upgraded to v6 and thus MLAgents to v 3.0 my old MLAgents project was using NNMODEL defined in Barracuda?
What is the suggested way to bring my project up to date?

1 Like

I figured it out:
Instead of Barracuda I use Sentis:
//using Unity.Barracuda;
→
using Unity.Sentis;

And instead of NNModel I use ModelAsset:
//public List models = new();
→
public List<Unity.Sentis.ModelAsset> models = new();

1 Like

Yes that looks right!

1 Like