fix: critic called once (was 3x), adaptive KL schedule restored, upgrade 3m
This commit is contained in:
@@ -235,8 +235,8 @@ def main():
|
||||
|
||||
# ONNX inference
|
||||
outputs = session.run(None, {
|
||||
'observations': obs.reshape(1, -1).astype(np.float32),
|
||||
'obs_history': history.astype(np.float32),
|
||||
'obs': obs.reshape(1, -1).astype(np.float32),
|
||||
'obs_history': history.reshape(1, -1).astype(np.float32),
|
||||
})
|
||||
action = outputs[0][0]
|
||||
action = np.clip(action, -CLIP_ACTIONS, CLIP_ACTIONS)
|
||||
|
||||
Reference in New Issue
Block a user