MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / load_cache

Method load_cache

datasets/humandata.py:122–127  ·  view source on GitHub ↗
(self, annot_path_cache)

Source from the content-addressed store, hash-verified

120 self.rhand_mean = smpl_x.layer['neutral'].right_hand_mean.reshape(15, 3).cpu().numpy()
121 # self.log_file_path = f'indices_node{rank}.txt'
122 def load_cache(self, annot_path_cache):
123 datalist = Cache(annot_path_cache)
124 # assert datalist.data_strategy == getattr(cfg, 'data_strategy', None), \
125 # f'Cache data strategy {datalist.data_strategy} does not match current data strategy ' \
126 # f'{getattr(cfg, "data_strategy", None)}'
127 return datalist
128
129 def save_cache(self, annot_path_cache, datalist):
130 print(

Callers 7

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 1

CacheClass · 0.85

Tested by

no test coverage detected