allenai / allenai/ai2thor

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

Offen
#1,143 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
1.8k
Forks
297
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.