allenai / ai2thor

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

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

Open jiachengc opened 1 year ago

jiachengc commented 1 year ago

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