Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/fchollet/keras
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Feb 5, 2016
2 parents e14deed + 7a708c3 commit f2443de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keras/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,7 @@ def generator_task():

generator_threads = [threading.Thread(target=generator_task) for _ in range(nb_worker)]
for thread in generator_threads:
thread.daemon = True
thread.start()

self.stop_training = False
Expand Down Expand Up @@ -1452,6 +1453,7 @@ def generator_task():

generator_threads = [threading.Thread(target=generator_task) for _ in range(nb_worker)]
for thread in generator_threads:
thread.daemon = True
thread.start()

self.stop_training = False
Expand Down

0 comments on commit f2443de

Please sign in to comment.