【发布时间】:2020-02-28 09:06:10
【问题描述】:
使用 python3(版本 3.6.8)和 keras 简单的脚本:
import keras
给出一个错误:
使用 TensorFlow 后端。
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)
(在英语中,它类似于:“无效的机器命令(写入内存图像)”)
所以我尝试改用theano:
import os
os.environ['KERAS_BACKEND'] = 'theano'
from keras import backend as K
使用 python3 会显示以下输出:
使用 Theano 后端。
Ungültiger Maschinenbefehl (Speicherabzug geschrieben)
我如何获得有关该问题的更多信息?
【问题讨论】:
标签: python-3.x tensorflow keras theano