microsoft / ADBench

Benchmarking various AD tools.
MIT License
102 stars 38 forks source link

TensorFlow missing in Windows PR tests #176

Closed tomjaguarpaw closed 4 years ago

tomjaguarpaw commented 4 years ago

When running the "ADBench PR Build Win Test" it complains that TensorFlow is missing, for example

======================================================================
ERROR: test_simple_objective_runs_multiple_times (__main__.PythonModuleCommonHandTests)
Checks if objective can be calculated multiple times
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:/a/1/s/test/python/modules/common/hand_tests.py", line 174, in setUp
    self.test = module_load(module_path)
  File "D:\a\1\s\src\python\runner\ModuleLoader.py", line 21, in module_load
    spec.loader.exec_module(test)
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "D:\a\1\s\src\python\modules\TensorflowGraph\TensorflowGraphHand.py", line 8, in <module>
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
...
The following tests FAILED:
    172 - PythonBaModuleCommonTests (Failed)
    173 - PythonGmmModuleCommonTests (Failed)
    174 - PythonLstmModuleCommonTests (Failed)
    175 - PythonHandModuleCommonTests (Failed)

Should it be pip installed, or obtained some other way?

https://msrcambridge.visualstudio.com/Knossos/_build/results?buildId=48452&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=f33089cd-d3fe-578c-2c5e-4ee560e10a0d&l=2139