Action to select metadata keys that are required
See original GitHub issueA lot of metadata is sent over at each controller step, but not all this metadata is required.
- Is it possible to set the scope of metadata returned by the server on the fly (as a controller action).
- 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 Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
PDF properties and metadata, Adobe Acrobat
Edit or append document metadata Choose File > Properties, click the Description tab, and then click Additional Metadata. Select Advanced from ...
Read more >Condition keys for Database Query Metadata Service
Lists all of the available service-specific resources, actions, and condition keys that can be used in IAM policies to control access to Database...
Read more >Check required metadata fields sub action
This sub action is used to check if text has been entered into one or more specified metadata field(s). It may, for instance,...
Read more >Creating a metadata rule
Select Manage > Metadata > Metadata Rules to display the Metadata Rules listing. Click the Create button to display the Create Metadata Rule...
Read more >Set up metadata navigation for a list or library
Enable metadata navigation and filtering · Click Settings Office 365 Settings button , and then click Site Settings. · Under Site Actions, click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Reopening this to say that it would be nice to have some extra functionality for this class of actions. For example:
The issue @Tushar-N identified where
forceAction=True
is required to perform actions such asOpenObject
on objects not included in the filter has been resolved with PR #693.