Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
AutoML throws several OperationCanceledExceptions #4821
when using any AutoML API project such as Sentiment Analysis for User Reviews, several exceptions are thrown in the background.
This is probably due to some internal cancellation and has no additional negative impacts but is pretty ugly in the debugger.
Would it be feasible to wrap this cancellation in a
Keep up the great work!
I debugged this issue a little bit, this exception is thrown by this line: https://github.com/dotnet/machinelearning/blob/master/src/Microsoft.ML.Data/DataLoadSave/Binary/BinarySaver.cs#L219, this OperationCanceledException is an internal signalling mechanism of BlockingCollection so it is safe to ignore them. The exception is handled by the framework code and you wouldn't have noticed it if you hadn't had your debugger configured to intercept it.
You can reference to this post as more info: https://stackoverflow.com/questions/22967631/how-can-blockingcollectiont-getconsumingenumerable-throw-operationcanceledex/35848060