wrong unified index
Atomu2014 opened this issue · 0 comments
Atomu2014 commented
the CTRLoader.offset should be:
self.offset = np.array([np.sum(self.sizes[1:i]) for i, _ in enumerate(self.sizes[1:], start=1)], dtype=int)
not:
self.offset = np.array([np.sum(self.sizes[1:i+1]) for i, _ in enumerate(self.sizes[1:], start=1)], dtype=int)