NimbusML icon indicating copy to clipboard operation
NimbusML copied to clipboard

Testing of Word Embedding is being skipped on Ubuntu14 and CentOS7

Open mstfbl opened this issue 4 years ago • 1 comments

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):

  • OS: Ubuntu 16, Ubuntu 14, CentOS 7
  • Python versions: 3.7, 3.6, 3.5, 2.7

mstfbl avatar Nov 28 '19 00:11 mstfbl

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).

mstfbl avatar Dec 10 '19 18:12 mstfbl