We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124bf39 commit 1a6b943Copy full SHA for 1a6b943
brax/training/agents/ppo/train.py
@@ -506,11 +506,11 @@ def sgd_step(
506
key, key_rt = jax.random.split(key)
507
r_translate = functools.partial(_random_translate_pixels, key=key_rt)
508
data = types.Transition(
509
- observation=r_translate(data.observation),
+ observation=r_translate(data.observation), # pytype: disable=wrong-arg-types
510
action=data.action,
511
reward=data.reward,
512
discount=data.discount,
513
- next_observation=r_translate(data.next_observation),
+ next_observation=r_translate(data.next_observation), # pytype: disable=wrong-arg-types
514
extras=data.extras,
515
)
516
0 commit comments