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

Multiagent error? #26

Open
SeungyounShin opened this issue Mar 17, 2023 · 1 comment
Open

Multiagent error? #26

SeungyounShin opened this issue Mar 17, 2023 · 1 comment

Comments

@SeungyounShin
Copy link

SeungyounShin commented Mar 17, 2023

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

Only a agent in the scene.

+edit

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?

Thank you for your assistance.

@liuxz-cs
Copy link

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

Only a agent in the scene.

+edit

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?

Thank you for your assistance.

Do you try this, and does this work to add multiple agents in procthor?

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

2 participants