Skip to content

Commit a0d796c

Browse files
authored
Merge branch 'main' into train_eval_fix
2 parents ee3d8b1 + 88e017e commit a0d796c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: intermediate_source/mario_rl_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def __init__(self, env, shape):
199199

200200
def observation(self, observation):
201201
transforms = T.Compose(
202-
[T.Resize(self.shape), T.Normalize(0, 255)]
202+
[T.Resize(self.shape, antialias=True), T.Normalize(0, 255)]
203203
)
204204
observation = transforms(observation).squeeze(0)
205205
return observation

0 commit comments

Comments
 (0)