allenai / Holodeck

CVPR 2024: Language Guided Generation of 3D Embodied AI Environments.
https://yueyang1996.github.io/holodeck
Apache License 2.0
304 stars 25 forks source link

Can't open ai2thor/unity/Assets/Scenes/Procedural/Procedural.unity #24

Closed mbwyjr closed 3 months ago

mbwyjr commented 4 months ago

why I can't open ai2thor/unity/Assets/Scenes/Procedural/Procedural.unity? when I click to open ai2thor/unity/Assets/Scenes/Procedural/Procedural.unity,there are the errors: ------- Setup Scene called False UnityEngine.Debug:Log (object) PhysicsSceneManager:SetupScene (bool) (at Assets/Scripts/PhysicsSceneManager.cs:66) PhysicsSceneManager:OnEnable () (at Assets/Scripts/PhysicsSceneManager.cs:53) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

And when I run the python connect_to_unity --scene ,there are the errors: Traceback (most recent call last): File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\wsgi_server.py", line 48, in queue_get res = que.get(block=True, timeout=queue_get_timeout_per_try) File "C:\Users\mubowen\AppData\Local\Programs\Python\Python310\lib\queue.py", line 179, in get raise Empty _queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Desktop\Holodeck-main\connect_to_unity.py", line 14, in controller = Controller( File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\controller.py", line 545, in init self.start( File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\controller.py", line 1548, in start self.last_event = self.server.receive(timeout=self.server_start_timeout) File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\wsgi_server.py", line 281, in receive return queue_get( File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\wsgi_server.py", line 62, in queue_get raise TimeoutError( TimeoutError: Could not get a message from the queue after 600 attempts

YueYANG1996 commented 4 months ago

It seems like you are using Windows, which AI2-THOR does not support at the moment.

mbwyjr commented 4 months ago

It seems like you are using Windows, which AI2-THOR does not support at the moment.

no,The same problem occurs when I use the Linux.And there is also such a problem when I run python main.py --query: ![Uploading CC7QC5[BW6R)W_Y6K5SO)K1.png…]()

mbwyjr commented 4 months ago

您似乎使用的是 Windows,而 AI2-THOR 目前不支持。

Constraints Format:

bed-0 | edge
bookcase-0 | edge | far, bed-0
study desk-0 | edge | near, bed-0 | right of, bed-0
vanity table-0 | edge | near, bed-0 | left of, bed-0
reading chair-0 | middle | near, bookcase-0 | around, study desk-0 | face to, study desk-0

Time limit reached. Time taken: 30.123515844345093 Number of solutions found: 23

wall object constraint plan for bedroom: painting-0 | above, bed-0 | 160 curtain rod-0 | N/A | 250 mirror-0 | above, vanity table-0 | 140 wall shelf-0 | above, study desk-0 | 180 wall lamp-0 | above, reading chair-0 | 150 clock-0 | above, bookcase-0 | 200 picture frame-0 | above, vanity table-0 | 170 Traceback (most recent call last): File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/resource_sharer.py", line 145, in _serve send(conn, destination_pid) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/resource_sharer.py", line 50, in send reduction.send_handle(conn, new_fd, pid) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/reduction.py", line 183, in send_handle with socket.fromfd(conn.fileno(), socket.AF_UNIX, socket.SOCK_STREAM) as s: File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/socket.py", line 544, in fromfd nfd = dup(fd) OSError: [Errno 24] Too many open files Exception in thread Thread-8: Traceback (most recent call last): File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/pool.py", line 513, in _handle_workers cls._maintain_pool(ctx, Process, processes, pool, inqueue, File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/pool.py", line 337, in _maintain_pool Pool._repopulate_pool_static(ctx, Process, processes, pool, File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/pool.py", line 326, in _repopulate_pool_static w.start() File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/process.py", line 121, in start self._popen = self._Popen(self) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/context.py", line 284, in _Popen return Popen(process_obj) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init super().init(process_obj) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init self._launch(process_obj) File "/mnt/second_drive/user_data/xqy/.conda/envs/holodeck/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 54, in _launch child_r, parent_w = os.pipe() OSError: [Errno 24] Too many open files

YueYANG1996 commented 4 months ago

Could you please check https://github.com/allenai/Holodeck/issues/3 and https://github.com/allenai/Holodeck/issues/20?

Aoihigashi commented 3 months ago

why I can't open ai2thor/unity/Assets/Scenes/Procedural/Procedural.unity? when I click to open ai2thor/unity/Assets/Scenes/Procedural/Procedural.unity,there are the errors: ------- Setup Scene called False UnityEngine.Debug:Log (object) PhysicsSceneManager:SetupScene (bool) (at Assets/Scripts/PhysicsSceneManager.cs:66) PhysicsSceneManager:OnEnable () (at Assets/Scripts/PhysicsSceneManager.cs:53) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

And when I run the python connect_to_unity --scene ,there are the errors: Traceback (most recent call last): File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\wsgi_server.py", line 48, in queue_get res = que.get(block=True, timeout=queue_get_timeout_per_try) File "C:\Users\mubowen\AppData\Local\Programs\Python\Python310\lib\queue.py", line 179, in get raise Empty _queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Desktop\Holodeck-main\connect_to_unity.py", line 14, in controller = Controller( File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\controller.py", line 545, in init self.start( File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\controller.py", line 1548, in start self.last_event = self.server.receive(timeout=self.server_start_timeout) File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\wsgi_server.py", line 281, in receive return queue_get( File "D:\Desktop\Holodeck-main\venv\lib\site-packages\ai2thor\wsgi_server.py", line 62, in queue_get raise TimeoutError( TimeoutError: Could not get a message from the queue after 600 attempts

Hello, have you resolved this issue? I'm encountering the same error now.