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

Method save_cache

HMR-Scorer/data/humandata.py:130–136  ·  view source on GitHub ↗
(self, annot_path_cache, datalist)

Source from the content-addressed store, hash-verified

128 return datalist
129
130 def save_cache(self, annot_path_cache, datalist):
131 print(f'[{self.__class__.__name__}] Caching datalist to {self.annot_path_cache}...')
132 Cache.save(
133 annot_path_cache,
134 datalist,
135 data_strategy=getattr(cfg, 'data_strategy', None)
136 )
137
138 def load_data(self, train_sample_interval=1, test_sample_interval=1):
139

Callers 1

Calls 2

printFunction · 0.85
saveMethod · 0.45

Tested by

no test coverage detected