Merge branch 'policy_config' into use_hub_mixin
This commit is contained in:
commit
3df7f1d9b2
|
@ -130,7 +130,7 @@ def eval_policy(
|
||||||
|
|
||||||
# get the next action for the environment
|
# get the next action for the environment
|
||||||
with torch.inference_mode():
|
with torch.inference_mode():
|
||||||
action = policy.select_action(observation, step)
|
action = policy.select_action(observation, step=step)
|
||||||
|
|
||||||
# apply inverse transform to unnormalize the action
|
# apply inverse transform to unnormalize the action
|
||||||
action = postprocess_action(action, transform)
|
action = postprocess_action(action, transform)
|
||||||
|
|
Loading…
Reference in New Issue