microsoft / NimbusML

Python machine learning package providing simple interoperability between ML.NET and scikit-learn components.
Other
282 stars 63 forks source link

Testing of Word Embedding is being skipped on Ubuntu14 and CentOS7 #376

Open mstfbl opened 4 years ago

mstfbl commented 4 years ago

Describe the bug Tests in test_wordembedding.py are being skipped on all versions of Python on CentOS7 and Ubuntu 14. Here is the blurb stating the "todo fix":

https://github.com/microsoft/NimbusML/blob/b57cfccd3f493c21e6e61f4cb80c8ccef89e2505/src/python/nimbusml/tests/feature_extraction/text/test_wordembedding.py#L22-L40

In short, tests are being skipped due to a WebClient error caused by SSL CA certification path access rights.

EDIT: The error produced is now:

E RuntimeError: Error: *** System.InvalidOperationException: 'Error downloading resource: Error trying to create directory : Path cannot be the empty string or all whitespace. E Parameter name: path. E Please fix your filesystem permissions, or try setting the 'MICROSOFTML_RESOURCE_PATH' environment variable to a writable folder E Model file for Word Embedding transform could not be found! Please copy the model file 'sentiment.emd' from 'Text/Sswe/sentiment.emd' to 'mlnet-resources/Text/Sswe'.'

In addition, this issue also occurs on Ubuntu 16.

Desktop (please complete the following information):

mstfbl commented 4 years ago

It seems like this issue stems from the ML.NET end, as an issue for this had already been created before. (Issue #1109 on dotnet/machinelearning).