| 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( |