-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Entry point 'Transforms.TextFeaturizer' not found when using F# Interactive #401
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
Just to mention that I noticed this as well when using "master" |
The workaround for this problem is to force the eager load of ML.NET assemblies before the point in the script where entry points are collected and used, e.g. by this:
The ML.NET Framework scrapes loaded assemblies for entry points. F# Interactive doesn't eagerly load assemblies referenced with Unfortunately the current design of ML.NET means it's possible to construct pipelines and request their execution without ever having loaded the required assemblies: the component catalog just assumes the assemblies are already loaded somewhere in the current process and if they aren't a crash happens. I'll adjust @isaacaabraham's example, add a test and add a separate issue to suggest making the component catalog more amenable to scripting environments. |
Closing this as this is by design for now, the workaround above of using |
System information
Issue
Similar to #92 I'm trying to run the example in F#. It works fine when I run it with
(similar to the code here: https://github.com/isaacabraham/ml-test-experiment/blob/master/mlnet.fsx ). However when I send the source code interactively to the REPL I get an exception when I call the
Train<..>
method:When I run
in the REPL I get:
Are there any workaround I can use to get this module into the module list? Ping @isaacabraham
The text was updated successfully, but these errors were encountered: