Skip to content

Commit fe17841

Browse files
committed
Adjust cpu cores used
1 parent 3b5f95a commit fe17841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def set_defaults(self):
5151
self.TOP_K_WORDS_CONSIDERED_DURING_PREDICTION = 10
5252
self.NUM_BATCHES_TO_LOG_PROGRESS = 6
5353
self.NUM_TRAIN_BATCHES_TO_EVALUATE = 1800
54-
self.READER_NUM_PARALLEL_BATCHES = 2 # cpu cores [for tf.contrib.data.map_and_batch() in the reader]
54+
self.READER_NUM_PARALLEL_BATCHES = 4 # cpu cores [for tf.contrib.data.map_and_batch() in the reader]
5555
self.SHUFFLE_BUFFER_SIZE = 10000
5656
self.CSV_BUFFER_SIZE = 100 * 1024 * 1024 # 100 MB
5757
self.MAX_TO_KEEP = 10

0 commit comments

Comments
 (0)