############### Configuration file for Frequentist ############### import os n_epochs = 100 sens = 1e-9 energy_thrs = 10000 acc_thrs = 0.99 lr = 0.001 num_workers = 4 valid_size = 0.2 batch_size = 256 with open("frq", "r") as file: frq = int(file.read()) if frq == 1: with open("tmp", "r") as file: wide = int(file.read()) if os.path.exists("tmp"): os.remove("tmp") else: raise Exception("Tmp file not found") print("Frequentist configured to run with width: {}".format(wide)) #if os.path.exists("frq"): # os.remove("frq") #else: # raise Exception("Frq file not found")