Skip to content

Commit

Permalink
fix(Bagging): Force setting multiprocessing start option which solves…
Browse files Browse the repository at this point in the history
… multi-assignment
  • Loading branch information
muellerdo committed May 19, 2022
1 parent efbc889 commit d764ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aucmedi/ensemble/bagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, model, k_fold=3):
self.cache_dir = None

# Set multiprocessing method to spawn
mp.set_start_method("spawn")
mp.set_start_method("spawn", force=True)


def train(self, training_generator, epochs=20, iterations=None,
Expand Down

0 comments on commit d764ff9

Please sign in to comment.