使用python3(3.6.8版(和keras简单的脚本:
import keras
给出错误:
使用TensorFlow后端。
Ungültiger Maschinenbefehl(Speicherabzug geschrieben(
(在英语中,它类似于:"无效的机器命令(写入内存图像("(
所以我试着用茶多酚代替:
import os
os.environ['KERAS_BACKEND'] = 'theano'
from keras import backend as K
对于python3,它显示以下输出:
使用Theano后端。
Ungültiger Maschinenbefehl(Speicherabzug geschrieben(
如何获得有关该问题的进一步信息?
尝试
from tensorflow import keras
如果问题仍然存在,请尝试查看有关如何安装和使用它的文档
Keras-Tensorflow
Keras概述-Tensorflow
Keras.io