(self, idx)
| 397 | return len(self.concat_dataset) |
| 398 | |
| 399 | def __getitem__(self, idx): |
| 400 | d = None |
| 401 | for retry in range(self.max_retry): |
| 402 | try: |
| 403 | d = self.concat_dataset[idx] |
| 404 | if d is not None: |
| 405 | return d |
| 406 | except: |
| 407 | traceback.print_exc() |
| 408 | time.sleep(self.wait_sec) |
| 409 | return d |
| 410 | |
| 411 | def get_all_num_pixels(self): |
| 412 | all_seq_lens = [] |
nothing calls this directly
no outgoing calls
no test coverage detected