def get_x(self): """ Returns numpy 2D array """ if self._x is not None: return self._x cprint(f"Loading str({len(self.get_images())} subjects") self._x = vtxbio.load_data(self._images) cprint(f"{len(self._x)} subjects loaded") return self._x
def get_x(self): from clinica.utils.stream import cprint """ Returns numpy 2D array """ if self._x is not None: return self._x cprint('Loading ' + str(len(self.get_images())) + ' subjects') self._x = vtxbio.load_data(self._images) cprint(str(len(self._x)) + ' subjects loaded') return self._x