Closed liuzhisheng1226 closed 6 years ago
self.annotations = np.array( [np.expand_dims(self._transform(filename['annotation']), axis=3) for filename in self.files])
@liuzhisheng1226 Bro I have the same question, wonder if you ever found a solution to this problem...
annotations are labels. No need for 3 channels. Closing due to inactivity
self.annotations = np.array( [np.expand_dims(self._transform(filename['annotation']), axis=3) for filename in self.files])