MCPcopy Create free account
hub / github.com/Audio-AGI/AudioSep / __init__

Method __init__

utils.py:204–212  ·  view source on GitHub ↗
(self, statistics_path)

Source from the content-addressed store, hash-verified

202
203class StatisticsContainer(object):
204 def __init__(self, statistics_path):
205 self.statistics_path = statistics_path
206
207 self.backup_statistics_path = "{}_{}.pkl".format(
208 os.path.splitext(self.statistics_path)[0],
209 datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S"),
210 )
211
212 self.statistics_dict = {"balanced_train": [], "test": []}
213
214 def append(self, steps, statistics, split, flush=True):
215 statistics["steps"] = steps

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected