samwit / Beginners-Day

Note books for TensorFlow & Deep Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For Windows user

hongta opened this issue · comments

replace

!cat ~/.keras/keras.json

with

from os.path import expanduser
with open(expanduser('~/.keras/keras.json'), 'r') as f:
    print(f.read())

output

{
    "floatx": "float32",
    "image_dim_ordering": "tf",
    "epsilon": 1e-07,
    "backend": "tensorflow"
}
> print(expanduser('~'))
C:\Users\xxxxx