diff --git a/server/clip_server/executors/clip_onnx.py b/server/clip_server/executors/clip_onnx.py index 05e2b4c58..c14da999d 100644 --- a/server/clip_server/executors/clip_onnx.py +++ b/server/clip_server/executors/clip_onnx.py @@ -34,9 +34,8 @@ def __init__( :param num_worker_preprocess: The number of CPU workers to preprocess images and texts. Default is 4. :param minibatch_size: The size of the minibatch for preprocessing and encoding. Default is 32. Reduce this number if you encounter OOM errors. - :param access_paths: Default access paths for encoding, used if the access path is not passed as a parameter - with the request. Visit https://docarray.jina.ai/fundamentals/documentarray/access-elements for more - details. + :param access_paths: The access paths to traverse on the input documents to get the images and texts to be + processed. Visit https://docarray.jina.ai/fundamentals/documentarray/access-elements for more details. :param model_path: The path to the model to be used. If not specified, the model will be downloaded or loaded from the local cache. Visit https://clip-as-service.jina.ai/user-guides/server/#use-custom-model-for-onnx to learn how to finetune custom models. diff --git a/server/clip_server/executors/clip_tensorrt.py b/server/clip_server/executors/clip_tensorrt.py index 7adf14a64..0f13bd52e 100644 --- a/server/clip_server/executors/clip_tensorrt.py +++ b/server/clip_server/executors/clip_tensorrt.py @@ -32,9 +32,8 @@ def __init__( :param num_worker_preprocess: The number of CPU workers to preprocess images and texts. Default is 4. :param minibatch_size: The size of the minibatch for preprocessing and encoding. Default is 32. Reduce this number if you encounter OOM errors. - :param access_paths: Default access paths for encoding, used if the access path is not passed as a parameter - with the request. Visit https://docarray.jina.ai/fundamentals/documentarray/access-elements for more - details. + :param access_paths: The access paths to traverse on the input documents to get the images and texts to be + processed. Visit https://docarray.jina.ai/fundamentals/documentarray/access-elements for more details. """ super().__init__(**kwargs) diff --git a/server/clip_server/executors/clip_torch.py b/server/clip_server/executors/clip_torch.py index 42731e7f8..64edc8236 100644 --- a/server/clip_server/executors/clip_torch.py +++ b/server/clip_server/executors/clip_torch.py @@ -36,9 +36,8 @@ def __init__( :param num_worker_preprocess: The number of CPU workers to preprocess images and texts. Default is 4. :param minibatch_size: The size of the minibatch for preprocessing and encoding. Default is 32. Reduce this number if you encounter OOM errors. - :param access_paths: Default access paths for encoding, used if the access path is not passed as a parameter - with the request. Visit https://docarray.jina.ai/fundamentals/documentarray/access-elements for more - details. + :param access_paths: The access paths to traverse on the input documents to get the images and texts to be + processed. Visit https://docarray.jina.ai/fundamentals/documentarray/access-elements for more details. """ super().__init__(**kwargs)