mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-06-05 00:00:04 +00:00
Fix: pass device for SAC
This commit is contained in:
parent
c97dbb3173
commit
c2c5d0798f
1 changed files with 2 additions and 1 deletions
|
|
@ -245,7 +245,8 @@ class SACPolicy(BasePolicy):
|
|||
'features_dim': self.features_dim,
|
||||
'net_arch': self.net_arch,
|
||||
'activation_fn': self.activation_fn,
|
||||
'normalize_images': normalize_images
|
||||
'normalize_images': normalize_images,
|
||||
'device': device
|
||||
}
|
||||
self.actor_kwargs = self.net_args.copy()
|
||||
sde_kwargs = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue