Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Embedding Model

Generate image embeddings using a classification model.

Extract raw features before the final linear classifier or logits before Softmax/Sigmoid of a workspace ResNet, ViT or DINOv3 model, or a pretrained ResNet. Uses the model's original preprocessing. Compare vectors only from the same embedding space.

Type identifier

Use the following identifier in step "type" field: roboflow_core/embedding_model@v1 to add the block as a step in your workflow.

Properties

Name

Type

Description

Refs

name

str

Enter a unique identifier for this step..

❌

model_id

str

Roboflow model identifier..

✅

output_type

str

Select Feature Vector (input to the final linear layer) or Logits (output before Softmax or Sigmoid)..

❌

The Refs column marks possibility to parametrise the property with dynamic values available in workflow runtime. See Bindings for more info.

Input and Output Bindings

The available connections depend on its binding kinds. Check what binding kinds Embedding Model in version v1 has.

Input and output bindings
  • input

  • output

    • embedding (embedding): A list of floating point numbers representing a vector embedding..

    • embedding_info (dictionary): Dictionary.

Example JSON definition
{
	    "name": "<your_step_name_here>",
	    "type": "roboflow_core/embedding_model@v1",
	    "data": "$inputs.image",
	    "model_id": "my_project/3",
	    "output_type": "feature_vector"
	}

Last updated

Was this helpful?