allenai / allenai/ai2thor

Action to select metadata keys that are required

オープン
#651 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
1.8k
フォーク
297
PR マージ指標
30日以内にマージされた PR はありません

説明

A lot of metadata is sent over at each controller step, but not all this metadata is required.

1. Is it possible to set the scope of metadata returned by the server on the fly (as a controller action).
2. Will this make things faster because less data needs to be sent over, or is this not a speed bottleneck (compared to sending over frame/segmentation tensors etc)?

I could have sworn I saw something about this in an issue/pull request, but I can't find it now. Sorry if this is a duplicate.

------------

For example, if I don't care about the agent, or scene bounds, or specific properties of objects.
```
controller.step(
"UpdateRequiredMetadata",
meta_keys={
'agent': False,
'sceneBounds': False,
'objects':{'axisAlignedBoundingBox': False, 'mass': False}
}
)
```

or if I ONLY care about specific object types?

```
controller.step(
"UpdateRequiredMetadata",
obj_types={
'Painting': False,
'DeskLamp': False,
}
)
```

but later down the line, I change my mind and I do want info about one of them
```
controller.step(
"UpdateRequiredMetadata",
obj_types={
'DeskLamp': True,
}
)
```

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

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

評価

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

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

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