A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Xamarin iOS can't bundle mlmodel
evmd
1
Reputation point
I am trying to make a machine learning app. I have an .mlmodel file, but when I try to build my app I always hit two errors that cancels it.
Resources/model.cs(20,20): Error CS0542: 'model': member names cannot be the same as their enclosing type (CS0542)
Resources/model.cs(23,23): Error CS0102: The type 'modelOutput' already contains a definition for 'Identity' (CS0102)
My model comes from a tf model that I converted using the coremltools converter, and the model.cs is autogenerated by that file according to what it says at the top. Anyone know what I am doing wrong?
Developer technologies | .NET | Xamarin
Developer technologies | .NET | Xamarin
Sign in to answer