-
Notifications
You must be signed in to change notification settings - Fork 1.9k
AutoML Fails due to FastTree GetProcessInformation UWP #4233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is an error in the SMAC sweeper, which uses a tree in the background for predicting which hyperparameters sets to try next. Hence even when the trees are disabled in the I'm not sure exactly what in FastTree is throwing, but it's within machinelearning/src/Microsoft.ML.FastTree/FastTree.cs Lines 437 to 462 in d0b3f86
I'm guessing this is a duplicate of: #2444 (FastTree does not work in UWP) @eerhardt, @codemzs: Do you see any quick solutions? Perhaps the try/catch recommended by danmosemsft. |
@Jenscaasen: For a short term workaround, you can stop AutoML at 68 iterations (I may be off by a couple). For iteration 9 to ~67, AutoML is warming up the hyperparameter space using random exploration. Beginning at iteration ~68, SMAC is used for hyperparameter optimization. For this custom early stopping after iteration 67, you would add a |
Unfortunately the FastTree issue isn't the only one you will encounter. I wouldn't recommend using ML.NET in UWP at the moment, because there are other UWP bugs that are going to block you. Have you tried building your app in See the discussion here #2252 (comment). Instead, I would recommend using a WPF app on .NET Core 3.0. You can still submit these apps to the App Store. |
Thank you for your replys! Is there an estimation when UWP will be supported by ML.net? I like the platform with its design principles and the easy-to-market option by using the Microsoft store. As i see in the code dump: the get process Infos only gets executed with "AllowGC". Can i make that be false? Also I will look into whether WPF is a good replacement for UWP |
Closing as a duplicate of #2444. |
Issue
What did you do?
I used AutoML for a Forecast problem in an UWP App. newest version of ML.NET. Letting the training run for more than 2 Minutes. Even when trying to not include trainers named "Tree" in the "RegressionExperimentSettings" it still arises. No idea why it would try to get ProcessInformation. Can you please remove that "GetProcessInfos" from FastTree?
What happened?
This Exception arises:
Source code / logs
The text was updated successfully, but these errors were encountered: