Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wesyoung committed Jun 28, 2018
1 parent 37978aa commit 8bd0e73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

BATCH_SIZE = os.getenv('BATCHSIZE', 8)
BATCH_SIZE = os.getenv('BATCH_SIZE', 8)
MAX_STRING_LEN = 255
MODEL = os.getenv('MODEL', 'model.h5')
WEIGHTS = os.getenv('WEIGHTS', 'weights.h5')
5 changes: 4 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import os

os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
#os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)

Expand All @@ -17,6 +17,9 @@

from constants import MAX_STRING_LEN, MODEL, WEIGHTS, BATCH_SIZE

BATCH_SIZE = int(BATCH_SIZE)
MAX_STRING_LEN = int(MAX_STRING_LEN)

NEURONS = os.getenv('TF_NEURONS', 128) # g00gle.com 256?
EMBEDDED_DIM = 300

Expand Down

0 comments on commit 8bd0e73

Please sign in to comment.