Skip to content

Commit

Permalink
maybe fix a problem with threadpoolctl
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianIsensee committed Sep 16, 2019
1 parent 3ff4541 commit 52c4c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batchgenerators/dataloading/multi_threaded_augmenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

def producer(queue, data_loader, transform, thread_id, seed, abort_event):
try:
with threadpool_limits(limits=1):
with threadpool_limits(limits=1, user_api="blas"):
np.random.seed(seed)
data_loader.set_thread_id(thread_id)
item = None
Expand Down

0 comments on commit 52c4c77

Please sign in to comment.