allenai / allenai/ai2thor

Questions about editing the scene in Unity.

Abierto
#1,014 7 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
1.8k
Forks
297
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.