THOR Challenge - CVPR 2017 Workshop Forum

Go back to competition Back to thread list Post in this thread

> Environment Not Responding

I’ve tried to run the THOR environment by following the script on http://vuchallenge.org/thor.html.
However, the program was not responding after running “env.initialize_target(target)”.
Is there any method could solve this?

James

Posted by: JamesChuang @ June 19, 2017, 2:56 p.m.

Could you send us the output of the console? Also, could you also look in your $HOME/.config/Allen Institute for Artificial Intelligence/RoboSims Platform - FloorPlan***/Player.log and paste the contents of that log? Replace "***" with your scene ID.

Posted by: AI2_admin @ June 19, 2017, 7:45 p.m.

Hi, here is the output from my terminal:

>>> import robosims
>>> import json
>>> env = robosims.controller.ChallengeController(unity_path='thor-201705011400-Linux64', x_display="local_host:0.0")
>>> env.start()
>>> {
"SERVER_SIDE_SCREENSHOT": false,
"SMOOTH_ANIMATION": false,
"PREFIX": "ROBOSIMS_",
"ENV_BUILD_LINUX": "thor-201705011400-Linux64",
"TRAIN_PHASE": false,
"AGENT_HEIGHT": 1.8,
"PLAYER_SCREEN_WIDTH": 300,
"PLAYER_SCREEN_HEIGHT": 300,
"TEST_TURN_VELOCITY": 10.0,
"AGENT_RADIUS": 0.2,
"ENV_BUILD_DARWIN": "unity/builds/living-room-OSXIntel64.app",
"COMPUTE_DEPTH_MAP": false,
"TEST_WALK_VELOCITY": 2.0,
"ENV_NAME": "living-room-0",
"HUMAN_CONTROL_MODE": false,
"TASK_TARGET": "balcony",
"ENV_TYPE": "living-room",
"TRAIN_WALK_VELOCITY": 20.0,
"TRAIN_TURN_VELOCITY": 100.0,
"TASK_TYPE": "navigation",
"TRAIN_ACTION_LENGTH": 1,
"TEST_ACTION_LENGTH": 1,
"PROCESS_NAME": "Robot AI Platform",
"X_DISPLAY": "local_host:0.0"
}

>>> f = open("thor-challenge-targets/targets-train.json")
>>> t = json.loads(f.read())
>>> env.initialize_target(t[0])

However, there's no file named "Allen Institute for Artificial Intelligence" exists in my config directory.
By the way, I use anaconda as the environment to run the script.

Posted by: JamesChuang @ June 20, 2017, 3:59 a.m.

Hi, it seems that it's the ssh problem.
It works when I run the script directly on computer.
Is there any way to run the environment through ssh?

James

Posted by: JamesChuang @ June 20, 2017, 2:31 p.m.

You need to enable X11 forwarding.

Posted by: AI2_admin @ June 20, 2017, 5:03 p.m.

Hi, I mean that is there any way to run the environment without displaying it?

Posted by: JamesChuang @ June 20, 2017, 5:17 p.m.

The short answer is No. You have to have the X server running on the host machine.

Posted by: AI2_admin @ June 20, 2017, 5:51 p.m.

I have X server running on the remote machine (xclock, xeyes work well). But I can't get the Linux version of THOR environment running remotely and rendering locally. Have you ever success to do that?

Posted by: air @ June 20, 2017, 7:01 p.m.

And what value of "x_display" be set in order to display? Is there a good tutorial for this THOR environment we can use?

Posted by: air @ June 20, 2017, 7:18 p.m.

Yes, most users are using that on a remote machine. Regarding "x_display", it depends on which display you want to use. Regarding the tutorial, the instructions on http://vuchallenge.org/thor.html should help.

Posted by: AI2_admin @ June 21, 2017, 5:26 p.m.
Post in this thread