Numpy1.14.3 生成和编辑均不可使用
提示
(face) C:\Users\Administrator\AIFACE\generators-with-stylegan2-master>python main.py
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 "", 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
2020-09-04 16:46:22.413086: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr
Numpy1.19.1 可以生成,但编辑模式不行并有以下提示
sys:1: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.
(此版本一开始成功编辑过几次,突然跳出这提示,之后不管整个环境重装几次都是不行了,网上有人说是模型的问题,重新放模型也无法解决)
Numpy1.14.3 生成和编辑均不可使用 提示 (face) C:\Users\Administrator\AIFACE\generators-with-stylegan2-master>python main.py 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 "", 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
2020-09-04 16:46:22.413086: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr
Numpy1.19.1 可以生成,但编辑模式不行并有以下提示 sys:1: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future. (此版本一开始成功编辑过几次,突然跳出这提示,之后不管整个环境重装几次都是不行了,网上有人说是模型的问题,重新放模型也无法解决)
Numpy从1.14 ~1.19 都逐个安装了还是不行,1.6以下的提示都和1.14.3提示一样,超过1.6的提示都和1.19.1的提示一样