def get_unique_id(self):
num_epochs = self.conf['training']['num_epochs']
this_conf = deepcopy(self.conf)
#don't make hash dependent on number of epochs.
this_conf['training']['num_epochs'] = 0
unique_id = hash(dill.dumps(this_conf))
return unique_id
评论列表
文章目录