mirror of
https://github.com/wassname/pytorch-soft-actor-critic.git
synced 2026-08-17 11:25:08 +08:00
Why?
This commit is contained in:
@@ -45,6 +45,7 @@ parser.add_argument('--cuda', action="store_true",
|
||||
args = parser.parse_args()
|
||||
|
||||
# Environment
|
||||
# Not using Normalized Action (seems to degrade the performance).
|
||||
env = NormalizedActions(gym.make(args.env_name))
|
||||
torch.manual_seed(args.seed)
|
||||
np.random.seed(args.seed)
|
||||
|
||||
Reference in New Issue
Block a user