Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue when run script on remote server #7

Open
yananchen1989 opened this issue Feb 24, 2025 · 1 comment
Open

issue when run script on remote server #7

yananchen1989 opened this issue Feb 24, 2025 · 1 comment

Comments

@yananchen1989
Copy link

Hi author,

I run script python run_eval.py --agent random on my local laptop, which is fine.
However, when I connect to my remote ubuntu server via terminal ssh, (not remote desktop), the scrite get stuck and freeze, like shown in the screen shot.

May I know how to set it up so that I can run the script via my remote server ?
thanks.

Image

@yananchen1989
Copy link
Author

Traceback (most recent call last):
File "/home/yanan/embody/EmbodiedEval/run_eval.py", line 270, in
evaluate_tasks(args.agent, args.max_steps, args.max_images, args.port, args.scene_folder, args.save_path, task_ids, args.sync, args.run_one_task_instance, args.all, args.use_video, args.remote)
File "/home/yanan/embody/EmbodiedEval/run_eval.py", line 134, in evaluate_tasks
env = initialize_environment(port, use_video, remote)
File "/home/yanan/embody/EmbodiedEval/run_eval.py", line 45, in initialize_environment
return Environment(
File "/home/yanan/anaconda3/envs/embodiedeval/lib/python3.10/site-packages/legent/environment/env.py", line 42, in init
self._communicator.initialize(self._poll_process, {"use_animation": use_animation, "camera_resolution_width": camera_resolution_width, "camera_resolution_height": camera_resolution_height, "camera_field_of_view": camera_field_of_view, "background": rendering_options.get("background", 1), "use_shadows": rendering_options.get("use_shadows", 1), "use_default_light": rendering_options.get("use_default_light", 1), "style": rendering_options.get("style", 1), "action_mode": action_mode})
File "/home/yanan/anaconda3/envs/embodiedeval/lib/python3.10/site-packages/legent/environment/communicator.py", line 102, in initialize
self.poll_for_timeout(poll_callback)
File "/home/yanan/anaconda3/envs/embodiedeval/lib/python3.10/site-packages/legent/environment/communicator.py", line 97, in poll_for_timeout
raise Exception("Time out. The game environment took too long to respond.\n")
Exception: Time out. The game environment took too long to respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant