ver Nov23rd
trying to set up the environment
This commit is contained in:
17
main.py
17
main.py
@@ -1,4 +1,4 @@
|
||||
from pprint import pprint
|
||||
#from pprint import pprint
|
||||
from desktop_env.envs.desktop_env import DesktopEnv, Action, MouseClick
|
||||
|
||||
def get_human_action():
|
||||
@@ -38,13 +38,16 @@ def human_agent():
|
||||
"""
|
||||
Runs the Gym environment with human input.
|
||||
"""
|
||||
env = DesktopEnv(path_to_vm="/home/yuri/vmware/Windows 10 x64/Windows 10 x64.vmx",
|
||||
#env = DesktopEnv( path_to_vm="/home/yuri/vmware/Windows 10 x64/Windows 10 x64.vmx"
|
||||
# path_to_vm="/home/yuri/vmware/Ubuntu 64-bit/Ubuntu 64-bit.vmx",
|
||||
username="user",
|
||||
password="password",
|
||||
# host="192.168.7.128",
|
||||
host="http://192.168.7.129:5000",
|
||||
vm_os="windows")
|
||||
env = DesktopEnv( path_to_vm="/home/david/vmware/KUbuntu 64-bit/KUbuntu 64-bit.vmx"
|
||||
, username="david"
|
||||
, password="123456"
|
||||
, host="192.168.174.129"
|
||||
#host="http://192.168.7.129:5000",
|
||||
#vm_os="windows")
|
||||
, vm_os="ubuntu"
|
||||
)
|
||||
observation = env.reset()
|
||||
done = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user