allenai / allenai/ai2thor

Questions about editing the scene in Unity.

Đang mở
#1,014 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
1.8k
Fork
296
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi, I tried editing scenes in Unity, and I copied a new object(a tomato) then place it on the table. I had the `GameMenu/SettlePhysics` done, and added the new object to the lists of `PhysicsSceneManager`. After built, I am able to pick up the copied object, and the `isPickedUp` attribute is also set to 'True', seems everything goes well. However, if I set the `renderInstanceSegmentation` as 'True' at the initialization of controller, then the simulator would crash, the error messages as follows:

> Traceback (most recent call last):
> File "iThorTest.py", line 13, in
> controller = Controller(
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/controller.py", line 557, in __init__
> event = self.reset(scene)
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/controller.py", line 693, in reset
> self.last_event = self.step(
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/controller.py", line 938, in step
> self.last_event = self.server.receive()
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/fifo_server.py", line 184, in receive
> return self.create_event(metadata, files)
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/server.py", line 543, in create_event
> image_mapping[key](files[key][i])
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/server.py", line 434, in add_image_ids
> self.process_colors_ids()
> File "/home/zzl/.local/lib/python3.8/site-packages/ai2thor/server.py", line 276, in process_colors_ids
> unique_inverse = unique_inverse.reshape(
> ValueError: cannot reshape array of size 120000 into shape (300,300)

Did I miss something in Unity settings?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.