Skip to content
Snippets Groups Projects
Commit 8b9e468f authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

Fix

parent 1acaf1c6
No related merge requests found
......@@ -7,6 +7,7 @@ import signal
import sys
import time
import traceback
import random
from multiprocessing import Pool, Queue, cpu_count
from functools import partial
from pprint import pprint
......@@ -272,6 +273,10 @@ def run(argv=sys.argv[1:]):
if worker_pool:
print("Processing %d work items in parallel." % len(work_items))
# The estimated time to completion is more accurate if we randomize
# the order of the work.
random.shuffle(work_items)
# We sort here so the predictors are in order of hyperparameter set num.
# This is convenient so that the neural networks get merged for each
# allele in the same order.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment