MCPcopy Create free account
hub / github.com/MotrixLab/ADHMR / load

Method load

ADHMR/lib/utils/cache.py:11–16  ·  view source on GitHub ↗
(self, load_path)

Source from the content-addressed store, hash-verified

9 self.load(load_path)
10
11 def load(self, load_path):
12 self.load_path = load_path
13 self.cache = np.load(load_path, allow_pickle=True)
14 self.data_len = self.cache['data_len']
15 assert self.data_len == len(self.cache) - 1
16 self.cache = None
17
18 @classmethod
19 def save(cls, save_path, data_list):

Callers 15

__init__Method · 0.95
filter_hub.pyFile · 0.45
draw.pyFile · 0.45
load_smplFunction · 0.45
get_outputFunction · 0.45
__init__Method · 0.45
__getitem__Method · 0.45
get_modelFunction · 0.45
get_model_scoreFunction · 0.45
inference.pyFile · 0.45
merge_modelsFunction · 0.45
clean_fnFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected