所以我的keras后端在C:\ Users \ Eric下面是从print(os.path.expanduser('〜'))如何将keras后端从theano更改为tensorflow(在Windows上奇怪的后端)
{
"epsilon": 1e-07,
"floatx": "float32",
"image_data_format": "channels_last",
"backend": "tensorflow"
}
但是,每当我导入keras,我得到这个:
Using Theano backend.
WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`
我怎么就变回 'tensorflow' 后台?
我试图导入后得到了这个开关theano theano.sandbox.cuda(只想)
你应该能够在你上面显示的文件中设置''后端“:”tensorflow“' – DJK