Removed debugging-code
This commit is contained in:
parent
d2d84d3287
commit
bc0e188a0d
@ -346,11 +346,7 @@ class CholNet(nn.Module):
|
|||||||
pearson_cor = pearson_cor.expand(
|
pearson_cor = pearson_cor.expand(
|
||||||
(stds.shape[0],)+pearson_cor.shape)
|
(stds.shape[0],)+pearson_cor.shape)
|
||||||
stds = stds.unsqueeze(2)
|
stds = stds.unsqueeze(2)
|
||||||
try:
|
cov = stds.mT * pearson_cor * stds
|
||||||
cov = stds.mT * pearson_cor * stds
|
|
||||||
except:
|
|
||||||
import pdb
|
|
||||||
pdb.set_trace()
|
|
||||||
chol = th.linalg.cholesky(cov)
|
chol = th.linalg.cholesky(cov)
|
||||||
return chol
|
return chol
|
||||||
elif self.par_strength == Strength.SCALAR and self.cov_strength == Strength.FULL:
|
elif self.par_strength == Strength.SCALAR and self.cov_strength == Strength.FULL:
|
||||||
|
Loading…
Reference in New Issue
Block a user