MCPcopy Create free account
hub / github.com/congwei1230/MoChaBench / save

Function save

eval-lipsync/script/SyncNetModel.py:5–8  ·  view source on GitHub ↗
(model, filename)

Source from the content-addressed store, hash-verified

3
4
5def save(model, filename):
6 with open(filename, "wb") as f:
7 torch.save(model, f)
8 print("%s saved." % filename)
9
10
11def load(filename):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected