allenai / allenai/ai2thor

Chunk execute actions that do not need an event response

オープン
#633 コメント 2 件 リアクション 1 件 担当者 1 名 @ekolve が担当を希望しています GitHub で見る
Feature Request
主要言語
C#
スター
1.8k
フォーク
296
PR マージ指標
30日以内にマージされた PR はありません

説明

Expected syntax:

```python
from ai2thor.controller import Controller
controller = Controller()

with controller.no_response():
controller.reset(scene="FloorPlan28")
controller.step("RandomizeColors")
controller.step("InitialRandomSpawn")
controller.step("PickupObject", objectId={...}, forceAction=True)

controller.step("Teleport", position=dict(x=0, y=0, z=0))
```

where the returned event for each action in the `no_response` context manager is `None` (meaning no frames or metadata is passed back to Python). This should speed up initialization which increasingly uses more than 1 action.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。