Closed ProgramItUp closed 7 years ago
You have to replace $host
and $port
with the actual IP address and port numbers of the GTAV remote. It might look like vnc://10.11.12.13:5900+15900
. The instructions for setting up a server are here: https://github.com/openai/universe-windows-envs/blob/master/vnc-gtav/README.md#using-the-prebuilt-ami
@tlbtlbtlb Thanks. Your prompt replies are always appreciated.
I missed the statement a few lines above the code "You can attach an agent by running the following code."
Feature request: Check that $host and $port are not null and if they are remind the user "A hostname and port must both be supplied, use the values for VNC server running your AI agent. If the agent is not yet running, start it now."
Musing: Seems like GTA agent would be a good candidate for an example in https://github.com/openai/universe/tree/master/example. It has more depth and complexity than most of the agents.
We're working on GTAV agents, but an agent that performs well on it is still a open research project.
I'm trying to executing the sample code on https://openai.com/blog/GTA-V-plus-Universe/
When I get to
env.configure(remotes='vnc://$host:$port') # point to the GTA V Universe server
the following error is thrown:The error message is not giving me a lot to go on to debug. What am I missing? Full script and error attached at the bottom of the issue submission.
Expected behavior
No error
Actual behavior
File "/home/me/dgx/universe/universe/remotes/hardcoded_addresses.py", line 122, in parse_remotes vnc_port = int(vnc_port) ValueError: invalid literal for int() with base 10: '$port'
Versions
Please include the result of running
Full execution trace: