Skip to content

Commit

Permalink
Revert default backend to TH
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Sep 13, 2016
1 parent 8af0264 commit d90e1db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keras/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
if not os.path.exists(_keras_dir):
os.makedirs(_keras_dir)

_BACKEND = 'tensorflow'
_BACKEND = 'theano'
_config_path = os.path.expanduser(os.path.join(_keras_dir, 'keras.json'))
if os.path.exists(_config_path):
_config = json.load(open(_config_path))
Expand Down
2 changes: 1 addition & 1 deletion keras/backend/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_FLOATX = 'float32'
_EPSILON = 10e-8
_UID_PREFIXES = defaultdict(int)
_IMAGE_DIM_ORDERING = 'tf'
_IMAGE_DIM_ORDERING = 'th'
_LEGACY_WEIGHT_ORDERING = False


Expand Down

0 comments on commit d90e1db

Please sign in to comment.