Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Audio-AGI/AudioSep
/ update
Method
update
models/CLAP/training/train.py:34–38 ·
view source on GitHub ↗
(self, val, n=1)
Source
from the content-addressed store, hash-verified
32
self.count = 0
33
34
def
update(self, val, n=1):
35
self.val = val
36
self.sum += val * n
37
self.count += n
38
self.avg = self.sum / self.count
39
40
41
def
unwrap_model(model):
Callers
7
train_one_epoch
Function · 0.95
save_to_dict
Function · 0.45
download_pretrained
Function · 0.45
main
Function · 0.45
evaluate
Function · 0.45
select_top_metric_clotho_audiocaps
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected