allenai / allenai/ai2thor

Action to select metadata keys that are required

Đang mở
#651 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
1.8k
Fork
297
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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,
}
)
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.