Keras: Konfigurasi Backend

From OnnoWiki
Jump to: navigation, search

Edit sudo vi .keras/keras.json , isi

{
    "epsilon": 1e-07,
    "floatx": "float32",
    "image_data_format": "channels_last",
    "backend": "tensorflow"
}


Simply change the field backend to "theano", "tensorflow", or "cntk", and Keras will use the new configuration next time you run any Keras code.


Pranala Menarik