Shuffle configurations in experiment
This commit is contained in:
parent
8d64f91661
commit
fe23fda86d
|
@ -4,6 +4,7 @@ import math
|
|||
import torch
|
||||
import time
|
||||
import pickle
|
||||
import random
|
||||
import sys
|
||||
|
||||
# Number of seconds to wait between each checkpoint
|
||||
|
@ -153,7 +154,9 @@ def save_results(results, path):
|
|||
|
||||
|
||||
# List of all configurations to be tested
|
||||
random.seed(42)
|
||||
all_confs = list(generate_test_configurations())
|
||||
random.shuffle(all_confs)
|
||||
|
||||
# Number of splits of the configuration list
|
||||
parts_count = 1
|
||||
|
|
Loading…
Reference in New Issue