Update main.py

This commit is contained in:
Pranjal Tandon
2019-05-22 11:42:27 +05:30
committed by GitHub
parent 2cf792007f
commit 2340ddfcde
+1 -3
View File
@@ -47,9 +47,7 @@ parser.add_argument('--cuda', action="store_true",
args = parser.parse_args()
# Environment
# Normalized Actions.
# Another way to use it = actions * env.action_space.high[0] -> (https://github.com/sfujim/TD3). This does the same thing. or not?
env = NormalizedActions(gym.make(args.env_name))
env = gym.make(args.env_name)
torch.manual_seed(args.seed)
np.random.seed(args.seed)
env.seed(args.seed)