(self, idx)
| 146 | return len(self.motion_path_list) |
| 147 | |
| 148 | def __getitem__(self, idx): |
| 149 | fpath, fname = self.motion_path_list[idx], self.motion_list[idx] |
| 150 | demo_traj = np.array(np.load(fpath)) |
| 151 | |
| 152 | return demo_traj, fname |
| 153 | |
| 154 | |
| 155 | class InfiniteSampler(data.sampler.Sampler): |
nothing calls this directly
no outgoing calls
no test coverage detected