allenai / allenai/ai2thor

Chunk execute actions that do not need an event response

未关闭
#633 2 条评论 1 个 reaction 已指派 1 人 已被 @ekolve 认领 在 GitHub 查看
Feature Request
主要语言
C#
星标
1.8k
派生
297
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 摘要。