Hi @ajwagen, I am opening this issue because I believe that there is a bug in the collection of rollouts for dsrl_sac.
The noise is denoised twice by diffusion policy. The first denoising happens here:
|
action = base_policy(torch.tensor(obs, device=cfg.device, dtype=torch.float32), noise) |
The second happens here:
|
diffused_actions = self.base_policy(self.obs, actions) |
When the step function is called here:
|
next_obs, reward, done, info = env.step(action) |
This issue is not affecting dsrl_na.
Hi @ajwagen, I am opening this issue because I believe that there is a bug in the collection of rollouts for dsrl_sac.
The noise is denoised twice by diffusion policy. The first denoising happens here:
dsrl/utils.py
Line 171 in 8d21b9c
The second happens here:
dsrl/env_utils.py
Line 217 in 8d21b9c
When the step function is called here:
dsrl/utils.py
Line 172 in 8d21b9c
This issue is not affecting dsrl_na.