allenai / ai2thor

An open-source platform for Visual AI.

Home Page:http://ai2thor.allenai.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why "Rotation" and "MoveAhead"action take significantly more time than other actions?

jiachengc opened this issue · comments

I tried to make the steps within an episode faster. Since my agent spends more time per step in the environment, I would like to investigate if some actions are causing this problem.

So I have printed the time consumption of each action, and I found out that the time consumption of "RotateLeft", "RotateRight" and "MoveAhead"is significantly more than the time consumption of other actions. Is this normal? And Do you have suggestion about how to speed up the time for performing these actions?

I simply print the time consumption for take one action:
Screen Shot 2023-04-17 at 10 39 29 PM

And the result:
Screen Shot 2023-04-17 at 10 49 51 PM

@winthos Thanks