Closed ppanopticon closed 15 hours ago
The retrieval side of things is currently missing.
Main reason is, that I'm not quite sure how we would use a LabelDescriptor
for querying. Is there any existing facility, that does that? I couldn't find any. From where I stand, LabelDescriptors
could be used both for classical boolean retrieval.
Added a (preliminary) version of the retrieval side and addressed @lucaro's comments.
This PR provides features based on TorchServe. It consists of the following components:
TorchServe
analyser that provides the basic functionality to interface with TorchServe via gRPC. This can be used to create concrete implementations for specific models.TSImageLabel
implementation that facilitates labelling of images. This can be used with most of the classical inference models that can generate labels from images. The implementation can serve as an example for other variations.A
TSImageLabel
feature can be configured as follows:Important: It is up-to the user to deploy the model in TorchServe beforehand. The following parameters exist for configuration (the first four are used irrespective of the model that is being used):
For now, the PR is a draft to allow for discussion and optimisation.