fix a small bug in computer_13 action space
This commit is contained in:
@@ -144,7 +144,7 @@ class PythonController:
|
||||
return
|
||||
|
||||
action_type = action["action_type"]
|
||||
parameters = action["parameters"] if "parameters" in action else {}
|
||||
parameters = action["parameters"] if "parameters" in action else {param: action[param] for param in action if param != 'action_type'}
|
||||
move_mode = random.choice(
|
||||
["pyautogui.easeInQuad", "pyautogui.easeOutQuad", "pyautogui.easeInOutQuad", "pyautogui.easeInBounce",
|
||||
"pyautogui.easeInElastic"])
|
||||
|
||||
Reference in New Issue
Block a user