Reputation: 31
I have developed an Object Detection solution in C# using capabilities of the Microsoft.ML package. However, when this package was upgraded to its 2.0 version, the solution started not working.
Doing some research, I have found that, when using the Microsoft.ML.Analytics dll of 2.0 version the following error arises:
System.ArgumentOutOfRangeException: Could not determine an IDataView type and registered custom types for member Bitmap (Parameter 'rawType')
Which is not appearing when using the dll from the previous version, the 1.71. I have seen that question before (SchemaDefinition.Create throws exception in Microsoft.ML.ImageAnalytics version 2.0), but no one has managed to answer it yet.
Could you help me to get rid of this exception?
Upvotes: 0
Views: 350
Reputation: 31
As Jon commented, in order to get rid of the exception all the Bitmaps have to be removed and changed using Microsoft.ML.MLImage. Once it is done, and the code is changed accordingly, I managed get the code working again. Thank you!
Upvotes: 0