Skip to content

Commit c2820e1

Browse files
committed
Bugfix data load queue.
1 parent 09da3e4 commit c2820e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

keras_wrapper/dataset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import ntpath
77
import os
88
import random
9+
import time
910
import re
1011
import sys
1112
#import threading
@@ -269,6 +270,7 @@ def generator(self):
269270
while out_queue.qsize() > 0:
270271
data = out_queue.get()
271272
yield(data)
273+
time.sleep(0.1)
272274

273275

274276
class Homogeneous_Data_Batch_Generator(object):

0 commit comments

Comments
 (0)