MCPcopy Create free account
hub / github.com/Thunderbeee/ZSCL / load

Method load

mtil/src/models/modeling.py:29–31  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

27 utils.torch_save(self, filename)
28
29 def load(self, filename):
30 print(f"Loading image classifier from {filename}")
31 return utils.torch_load(self, filename)
32
33
34class ClassificationHead(torch.nn.Linear):

Callers 15

loadFunction · 0.45
__init__Method · 0.45
mainFunction · 0.45
torch_loadFunction · 0.45
evaluateFunction · 0.45
search_singleFunction · 0.45
mainFunction · 0.45
make_dataframeFunction · 0.45
__init__Method · 0.45
load_labelsFunction · 0.45
get_metadataFunction · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected