openai / universe-starter-agent

A starter agent that can solve a number of universe environments.
MIT License
1.1k stars 318 forks source link

Playing game locally #55

Closed ihungalexhsu closed 7 years ago

ihungalexhsu commented 7 years ago

Excuse me, I've completed training a model of pong game(using command : python train.py --num-workers 2 --env-id PongDeterministic-v3 --log-dir /tmp/pong ). How can I use the model checkpoint to see how it performed on the game visually?

tlbtlbtlb commented 7 years ago

train.py will have started a tensorboard server, which you can see by navigating to http://localhost:12345/ in a browser. If you've stopped the run, you can start a new tensorboard server with `tensorboard --logdir /tmp/pong --port 12345'

ihungalexhsu commented 7 years ago

Thanks @tlbtlbtlb How about using the model playing a game?
( Like env.rendor() in gym )

tlbtlbtlb commented 7 years ago

You can start training again, and it will use the previous checkpoint. Then use a VNC client such as TurboVNC to connect to localhost:5900.

nohe427 commented 7 years ago

I cannot connect locally to localhost:5900. I cannot watch it train visually unless it is through tensorboard