Open NormanBeta opened 4 years ago
def class MorphabelModel(object): def get_shape_para(self, type = 'random'): if type == 'zero': sp = np.random.zeros((self.n_shape_para, 1)) elif type == 'random': sp = np.random.rand(self.n_shape_para, 1)*1e04 return sp
There's no np.random.zeros, should be np.zeros
def class MorphabelModel(object): def get_shape_para(self, type = 'random'): if type == 'zero': sp = np.random.zeros((self.n_shape_para, 1)) elif type == 'random': sp = np.random.rand(self.n_shape_para, 1)*1e04 return sp
There's no np.random.zeros, should be np.zeros