Skip to content

Commit

Permalink
fix typo in config parser methods
Browse files Browse the repository at this point in the history
  • Loading branch information
vijuSR committed Feb 1, 2019
1 parent f9859d5 commit 964a395
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ def test(emoji_data, sess):
if not os.path.exists(CHECKPOINT_SAVE_PATH):
os.makedirs(CHECKPOINT_SAVE_PATH)

BATCH_SIZE = config_parser.getInt('MODEL_HYPER_PARAMETERS', 'batch_size')
STEPS = config_parser.getInt('MODEL_HYPER_PARAMETERS', 'train_steps')
LEARNING_RATE = config_parser.getFloat('MODEL_HYPER_PARAMETERS', 'learning_rate')
KEEP_PROB = config_parser.getFloat('MODEL_HYPER_PARAMETERS', 'dropout_keep_prob')
BATCH_SIZE = config_parser.getint('MODEL_HYPER_PARAMETERS', 'batch_size')
STEPS = config_parser.getint('MODEL_HYPER_PARAMETERS', 'train_steps')
LEARNING_RATE = config_parser.getfloat('MODEL_HYPER_PARAMETERS', 'learning_rate')
KEEP_PROB = config_parser.getfloat('MODEL_HYPER_PARAMETERS', 'dropout_keep_prob')

X = tf.placeholder(
tf.float32, shape=[None, 48, 48, 1]
Expand Down

0 comments on commit 964a395

Please sign in to comment.