allenai / allenai/ai2thor

Action to select metadata keys that are required

未關閉
#651 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
1.8k
分支
296
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 摘要。