Closed ikamensh closed 7 years ago
This appears to be just the typical message when error occurs in worker process (in my case import error)
If you don't mind, how did you fix this? I am getting the same error.
This is not the actual error, its just a hint that there might be an error (seems to be also sometimes caused by parallel processes, even if all errors are fixed.) Go to tmux and then to worker process (tmux -a -> Ctrl-B -> 1(number uncertain, see on the bottom of the screen)), there you might see the actual problem message.
in this case :
$ tmux a
// screen popped up, hit CTRL-B
// nothing happened, then hit 1
~/Dev/git/openai/universe-starter-agent$ CUDA_VISIBLE_DEVICES= /usr/bin/python3 worker.py --log-dir /tmp/pong --env-id PongDeterministic-v3 --num-workers 2 --job-name worker --task 0 --remotes 1
Traceback (most recent call last):
File "worker.py", line 2, in <module>
import cv2
ImportError: No module named 'cv2'
Hi, could you advise? here are my messages.
(0) ps-
kevin@kevinmalverns:~/Documents/universe-starter-agent$ CUDA_VISIBLE_DEVICES= /home/kevin/anaconda2/envs/universe-starter-agent/bin/python3 worker.py --log-dir /tmp/pong --env-id PongDeterministic-v4 --num-workers 2 --job-name ps Traceback (most recent call last): File "worker.py", line 3, in <module> import go_vncdriver ImportError: No module named 'go_vncdriver'
(1) w-0
kevin@kevinmalverns:~/Documents/universe-starter-agent$ CUDA_VISIBLE_DEVICES= /home/kevin/anaconda2/envs/universe-starter-agent/bin/python3 worker.py --log-dir /tmp/pong --env-id PongDeterministic-v4 --num-workers 2 --job-name worker --task 0 --remotes 1 Traceback (most recent call last): File "worker.py", line 3, in <module> import go_vncdriver ImportError: No module named 'go_vncdriver'
(2) w-1
kevin@kevinmalverns:~/Documents/universe-starter-agent$ CUDA_VISIBLE_DEVICES= /home/kevin/anaconda2/envs/universe-starter-agent/bin/python3 worker.py --log-dir /tmp/pong --env-id PongDeterministic-v4 --num-workers 2 --job-name worker --task 1 --remotes 1 Traceback (most recent call last): File "worker.py", line 3, in <module> import go_vncdriver ImportError: No module named 'go_vncdriver'
(3) tb
'kevin@kevinmalverns:~/Documents/universe-starter-agent$ tensorboard --logdir /tmp/pong --port 12345
TensorBoard 0.1.8 at http://kevinmalverns:12345 (Press CTRL+C to quit)
'
This weird, because I already have fixed this problem before. I am running OpenAI_Game_Bot_Live_stream https://github.com/llSourcell/OpenAI_Game_Bot_Live_stream fine. Thanks for your attention on this.
read the error message and you will see
no module ... govnc
you need to install goVNC as per instructions found here https://github.com/openai/go-vncdriver
Anyone has ideas why I get this error and what exactly it means?