Fix: Performed onplace operation on tensor requiring diff
This commit is contained in:
parent
f93d9adc66
commit
5b035a4ed8
@ -147,7 +147,7 @@ class PCA_Distribution(SB3_Distribution):
|
||||
assert self.skip_conditioning or type(traj) != type(None), 'A past trajectory has to be supplied if conditinoning is performed'
|
||||
pi_mean, pi_std = self.distribution.mean.cpu(), self.distribution.scale.cpu()
|
||||
rho_mean, rho_std = self._conditioning_engine(traj, pi_mean, pi_std)
|
||||
rho_std *= f_sigma
|
||||
rho_std = rho_std * f_sigma
|
||||
eta = self._get_rigged(pi_mean, pi_std,
|
||||
rho_mean, rho_std,
|
||||
epsilon)
|
||||
|
Loading…
Reference in New Issue
Block a user