Improve the parallel logic

This commit is contained in:
yuanmengqi
2025-07-17 04:19:44 +00:00
parent 150234307e
commit bb8b0b2582
8 changed files with 6 additions and 420 deletions

View File

@@ -753,7 +753,6 @@ class OpenAICUAAgent:
# Convert the action to an Action object
step_action = Action(action.get("action", ""), self.action_space)
# Execute the action in the environment
print(f"Executing action: {step_action.get_action()}")
obs, reward, terminated, info = self.env.step(step_action.get_action())
screenshot_base64 = encode_image(obs["screenshot"])