allenai / ai2thor

An open-source platform for Visual AI.
http://ai2thor.allenai.org
Apache License 2.0
1.09k stars 210 forks source link

Multiagent is not valid in ProcThor Scene #1133

Open SeungyounShin opened 1 year ago

SeungyounShin commented 1 year ago
import prior 
from ai2thor.controller import Controller

dataset = prior.load_dataset("procthor-10k")
house = dataset['train'][0]

c = Controller(scene=house, height=640, width=640, fieldOfView=90, agentCount=2)

#c.reset(agentCount=5) => not work
#e = c.step(action="Initialize",raise_for_failure=True,**c.initialization_parameters,) => not work

How to add multiagent in procthor scene?

+edit

  1. I noticed that there is an if statement on line 301 of the AgentManager.cs script in the AI2-THOR GitHub repository (https://github.com/allenai/ai2thor/blob/63947e75d0762101a141d079a4a2737f7a4656f3/unity/Assets/Scripts/AgentManager.cs#L301). If I were to passively delete this statement, would it cause any issues?

    1. I am curious to know whether it is feasible to synchronize the movements of all agents simultaneously

Thank you

SeungyounShin commented 1 year ago

output

Deleting the line and build from source works. I am not sure this is desired or not

liuxz-cs commented 8 months ago

output

Deleting the line and build from source works. I am not sure this is desired or not

  • At ProcThor, we cannot goto some locations even if the location is visible.

So do you solve the problem of multi-agent execution in procthor?