profiler-ui
profiler-ui copied to clipboard
Check failed: PyBfloat16_Type.tp_base != nullptr
After following the installation instructions, I get the following error when attempting to start up the UI:
python ui.py --profile_context_path=/opt/devel/src/autocoder/rad-autocoder/model_configurable/output/profile_100
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'
ImportError: numpy.core.multiarray failed to import
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 968, in _find_and_load
SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set
ImportError: numpy.core._multiarray_umath failed to import
ImportError: numpy.core.umath failed to import
2019-03-12 12:50:48.229931: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr
Abort trap: 6
Fixed by installing numpy of a specific version numpy-1.16.2
Thanks for reporting this, Andy!