Removed debug-point
This commit is contained in:
		
							parent
							
								
									4854346f2d
								
							
						
					
					
						commit
						04529e8261
					
				| @ -338,11 +338,7 @@ class CholNet(nn.Module): | |||||||
|                 stds = self._ensure_positive_func(self.stds(x)) |                 stds = self._ensure_positive_func(self.stds(x)) | ||||||
|                 smol = self._parameterize_full(self.params) |                 smol = self._parameterize_full(self.params) | ||||||
|                 big = self.padder(smol) |                 big = self.padder(smol) | ||||||
|                 try: |  | ||||||
|                 pearson_cor_chol = big + th.eye(stds.shape[-1]) |                 pearson_cor_chol = big + th.eye(stds.shape[-1]) | ||||||
|                 except: |  | ||||||
|                     import pdb |  | ||||||
|                     pdb.set_trace() |  | ||||||
|                 pearson_cor = pearson_cor_chol.T @ pearson_cor_chol |                 pearson_cor = pearson_cor_chol.T @ pearson_cor_chol | ||||||
|                 cov = stds.T * pearson_cor * stds |                 cov = stds.T * pearson_cor * stds | ||||||
|                 chol = th.linalg.cholesky(cov) |                 chol = th.linalg.cholesky(cov) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user