Skip to content

Commit

Permalink
Bugfix data load queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcBS committed Sep 14, 2019
1 parent 09da3e4 commit c2820e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keras_wrapper/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import ntpath
import os
import random
import time
import re
import sys
#import threading
Expand Down Expand Up @@ -269,6 +270,7 @@ def generator(self):
while out_queue.qsize() > 0:
data = out_queue.get()
yield(data)
time.sleep(0.1)


class Homogeneous_Data_Batch_Generator(object):
Expand Down

0 comments on commit c2820e1

Please sign in to comment.