(self, data_chunk)
| 31 | self.num_repeat = 1 |
| 32 | |
| 33 | def _preprocess_data(self, data_chunk): |
| 34 | processed = [] |
| 35 | for data in data_chunk: |
| 36 | processed.append( |
| 37 | dict( |
| 38 | vertices = np.asarray(data['vertices']), |
| 39 | faces = np.asarray(data['faces']), |
| 40 | ) |
| 41 | ) |
| 42 | return processed |
| 43 | |
| 44 | def _fetch_data(self, idx): |
| 45 | idx = idx % len(self.data) |