Roboflow Dataset Upload¶
v2¶
Class: RoboflowDatasetUploadBlockV2
(there are multiple versions of this block)
Source: inference.core.workflows.core_steps.sinks.roboflow.dataset_upload.v2.RoboflowDatasetUploadBlockV2
Warning: This block has multiple versions. Please refer to the specific version for details. You can learn more about how versions work here: Versioning
Block let users save their images and predictions into Roboflow Dataset. Persisting data from production environments helps iteratively building more robust models.
Block provides configuration options to decide how data should be stored and what are the limits to be applied. We advice using this block in combination with rate limiter blocks to effectively collect data that the model struggle with.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/roboflow_dataset_upload@v2
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
target_project |
str |
name of Roboflow dataset / project to be used as target for collected data. | ✅ |
usage_quota_name |
str |
Unique name for Roboflow project pointed by target_project parameter, that identifies usage quota applied for this block.. |
❌ |
data_percentage |
float |
Percent of data that will be saved (in range [0.0, 100.0]). | ✅ |
persist_predictions |
bool |
Boolean flag to decide if predictions should be registered along with images. | ✅ |
minutely_usage_limit |
int |
Maximum number of data registration requests per minute accounted in scope of single server or whole Roboflow platform, depending on context of usage.. | ❌ |
hourly_usage_limit |
int |
Maximum number of data registration requests per hour accounted in scope of single server or whole Roboflow platform, depending on context of usage.. | ❌ |
daily_usage_limit |
int |
Maximum number of data registration requests per day accounted in scope of single server or whole Roboflow platform, depending on context of usage.. | ❌ |
max_image_size |
Tuple[int, int] |
Maximum size of the image to be registered - bigger images will be downsized preserving aspect ratio. Format of data: (width, height) . |
❌ |
compression_level |
int |
Compression level for images registered. | ❌ |
registration_tags |
List[str] |
Tags to be attached to registered datapoints. | ✅ |
disable_sink |
bool |
boolean flag that can be also reference to input - to arbitrarily disable data collection for specific request. | ✅ |
fire_and_forget |
bool |
Boolean flag dictating if sink is supposed to be executed in the background, not waiting on status of registration before end of workflow run. Use True if best-effort registration is needed, use False while debugging and if error handling is needed. |
✅ |
labeling_batch_prefix |
str |
Prefix of the name for labeling batches that will be registered in Roboflow app. | ✅ |
labeling_batches_recreation_frequency |
str |
Frequency in which new labeling batches are created in Roboflow app. New batches are created with name prefix provided in labeling_batch_prefix in given time intervals.Useful in organising labeling flow.. |
❌ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Roboflow Dataset Upload
in version v2
.
- inputs:
Stitch Images
,Pixelate Visualization
,Path Deviation
,Multi-Label Classification Model
,LMM For Classification
,Keypoint Detection Model
,Gaze Detection
,Instance Segmentation Model
,Blur Visualization
,Single-Label Classification Model
,Mask Visualization
,Object Detection Model
,OCR Model
,SIFT
,Line Counter
,Detections Filter
,YOLO-World Model
,Model Monitoring Inference Aggregator
,Polygon Visualization
,Halo Visualization
,VLM as Detector
,Grid Visualization
,Google Vision OCR
,Model Comparison Visualization
,Email Notification
,Camera Focus
,CogVLM
,Image Threshold
,Byte Tracker
,Keypoint Visualization
,Detections Classes Replacement
,Template Matching
,Image Preprocessing
,Detection Offset
,Roboflow Dataset Upload
,Slack Notification
,Stitch OCR Detections
,Identify Changes
,Relative Static Crop
,Background Color Visualization
,Bounding Box Visualization
,Ellipse Visualization
,Image Contours
,Label Visualization
,Classification Label Visualization
,Line Counter Visualization
,Byte Tracker
,LMM
,Stability AI Inpainting
,Reference Path Visualization
,VLM as Detector
,Dynamic Crop
,Byte Tracker
,Triangle Visualization
,Bounding Rectangle
,Absolute Static Crop
,Object Detection Model
,Time in Zone
,Detections Stitch
,Florence-2 Model
,SIFT Comparison
,Keypoint Detection Model
,Corner Visualization
,Perspective Correction
,Cosine Similarity
,Local File Sink
,Polygon Zone Visualization
,VLM as Classifier
,Image Slicer
,Trace Visualization
,Detections Consensus
,Twilio SMS Notification
,Webhook Sink
,Roboflow Custom Metadata
,OpenAI
,Crop Visualization
,Instance Segmentation Model
,Roboflow Dataset Upload
,Clip Comparison
,VLM as Classifier
,Anthropic Claude
,SIFT Comparison
,Image Blur
,Circle Visualization
,Image Convert Grayscale
,Dot Visualization
,Google Gemini
,Segment Anything 2 Model
,JSON Parser
,Single-Label Classification Model
,Identify Outliers
,Time in Zone
,Florence-2 Model
,Detections Stabilizer
,Path Deviation
,OpenAI
,Color Visualization
,Multi-Label Classification Model
,CSV Formatter
,Llama 3.2 Vision
,Detections Transformation
- outputs:
Multi-Label Classification Model
,Pixelate Visualization
,Path Deviation
,LMM For Classification
,Keypoint Detection Model
,Gaze Detection
,Line Counter
,Instance Segmentation Model
,CLIP Embedding Model
,Single-Label Classification Model
,Blur Visualization
,Mask Visualization
,Object Detection Model
,Line Counter
,YOLO-World Model
,Model Monitoring Inference Aggregator
,Cache Get
,Polygon Visualization
,Halo Visualization
,Google Vision OCR
,Email Notification
,Model Comparison Visualization
,CogVLM
,Image Threshold
,Keypoint Visualization
,Template Matching
,Image Preprocessing
,Slack Notification
,Roboflow Dataset Upload
,Background Color Visualization
,Bounding Box Visualization
,Label Visualization
,Classification Label Visualization
,Ellipse Visualization
,Line Counter Visualization
,LMM
,Reference Path Visualization
,Stability AI Inpainting
,Dynamic Crop
,Triangle Visualization
,Object Detection Model
,Distance Measurement
,Time in Zone
,Detections Stitch
,Florence-2 Model
,SIFT Comparison
,Keypoint Detection Model
,Corner Visualization
,Perspective Correction
,Local File Sink
,Polygon Zone Visualization
,Twilio SMS Notification
,Trace Visualization
,Webhook Sink
,Detections Consensus
,Size Measurement
,Roboflow Custom Metadata
,OpenAI
,Cache Set
,Instance Segmentation Model
,Crop Visualization
,Roboflow Dataset Upload
,Clip Comparison
,Anthropic Claude
,Image Blur
,Dot Visualization
,Circle Visualization
,Google Gemini
,Segment Anything 2 Model
,Single-Label Classification Model
,Time in Zone
,Florence-2 Model
,Path Deviation
,OpenAI
,Color Visualization
,Multi-Label Classification Model
,Pixel Color Count
,Llama 3.2 Vision
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Roboflow Dataset Upload
in version v2
has.
Bindings
-
input
images
(image
): The image to infer on.target_project
(roboflow_project
): name of Roboflow dataset / project to be used as target for collected data.predictions
(Union[instance_segmentation_prediction
,object_detection_prediction
,keypoint_detection_prediction
,classification_prediction
]): Model predictions to be saved.data_percentage
(float
): Percent of data that will be saved (in range [0.0, 100.0]).persist_predictions
(boolean
): Boolean flag to decide if predictions should be registered along with images.registration_tags
(string
): Tags to be attached to registered datapoints.disable_sink
(boolean
): boolean flag that can be also reference to input - to arbitrarily disable data collection for specific request.fire_and_forget
(boolean
): Boolean flag dictating if sink is supposed to be executed in the background, not waiting on status of registration before end of workflow run. UseTrue
if best-effort registration is needed, useFalse
while debugging and if error handling is needed.labeling_batch_prefix
(string
): Prefix of the name for labeling batches that will be registered in Roboflow app.
-
output
Example JSON definition of step Roboflow Dataset Upload
in version v2
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_dataset_upload@v2",
"images": "$inputs.image",
"target_project": "my_dataset",
"usage_quota_name": "quota-for-data-sampling-1",
"predictions": "$steps.object_detection_model.predictions",
"data_percentage": true,
"persist_predictions": true,
"minutely_usage_limit": 10,
"hourly_usage_limit": 10,
"daily_usage_limit": 10,
"max_image_size": [
1920,
1080
],
"compression_level": 95,
"registration_tags": [
"location-florida",
"factory-name",
"$inputs.dynamic_tag"
],
"disable_sink": true,
"fire_and_forget": "<block_does_not_provide_example>",
"labeling_batch_prefix": "my_labeling_batch_name",
"labeling_batches_recreation_frequency": "never"
}
v1¶
Class: RoboflowDatasetUploadBlockV1
(there are multiple versions of this block)
Source: inference.core.workflows.core_steps.sinks.roboflow.dataset_upload.v1.RoboflowDatasetUploadBlockV1
Warning: This block has multiple versions. Please refer to the specific version for details. You can learn more about how versions work here: Versioning
Block let users save their images and predictions into Roboflow Dataset. Persisting data from production environments helps iteratively building more robust models.
Block provides configuration options to decide how data should be stored and what are the limits to be applied. We advice using this block in combination with rate limiter blocks to effectively collect data that the model struggle with.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/roboflow_dataset_upload@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Enter a unique identifier for this step.. | ❌ |
target_project |
str |
name of Roboflow dataset / project to be used as target for collected data. | ✅ |
usage_quota_name |
str |
Unique name for Roboflow project pointed by target_project parameter, that identifies usage quota applied for this block.. |
❌ |
persist_predictions |
bool |
Boolean flag to decide if predictions should be registered along with images. | ❌ |
minutely_usage_limit |
int |
Maximum number of data registration requests per minute accounted in scope of single server or whole Roboflow platform, depending on context of usage.. | ❌ |
hourly_usage_limit |
int |
Maximum number of data registration requests per hour accounted in scope of single server or whole Roboflow platform, depending on context of usage.. | ❌ |
daily_usage_limit |
int |
Maximum number of data registration requests per day accounted in scope of single server or whole Roboflow platform, depending on context of usage.. | ❌ |
max_image_size |
Tuple[int, int] |
Maximum size of the image to be registered - bigger images will be downsized preserving aspect ratio. Format of data: (width, height) . |
❌ |
compression_level |
int |
Compression level for images registered. | ❌ |
registration_tags |
List[str] |
Tags to be attached to registered datapoints. | ✅ |
disable_sink |
bool |
boolean flag that can be also reference to input - to arbitrarily disable data collection for specific request. | ✅ |
fire_and_forget |
bool |
Boolean flag dictating if sink is supposed to be executed in the background, not waiting on status of registration before end of workflow run. Use True if best-effort registration is needed, use False while debugging and if error handling is needed. |
✅ |
labeling_batch_prefix |
str |
Prefix of the name for labeling batches that will be registered in Roboflow app. | ✅ |
labeling_batches_recreation_frequency |
str |
Frequency in which new labeling batches are created in Roboflow app. New batches are created with name prefix provided in labeling_batch_prefix in given time intervals.Useful in organising labeling flow.. |
❌ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Roboflow Dataset Upload
in version v1
.
- inputs:
Stitch Images
,Pixelate Visualization
,Path Deviation
,Multi-Label Classification Model
,LMM For Classification
,Keypoint Detection Model
,Gaze Detection
,Instance Segmentation Model
,Blur Visualization
,Single-Label Classification Model
,Mask Visualization
,Object Detection Model
,OCR Model
,SIFT
,Line Counter
,Detections Filter
,YOLO-World Model
,Model Monitoring Inference Aggregator
,Polygon Visualization
,Halo Visualization
,VLM as Detector
,Grid Visualization
,Google Vision OCR
,Model Comparison Visualization
,Email Notification
,Camera Focus
,CogVLM
,Image Threshold
,Byte Tracker
,Keypoint Visualization
,Detections Classes Replacement
,Template Matching
,Image Preprocessing
,Detection Offset
,Roboflow Dataset Upload
,Slack Notification
,Stitch OCR Detections
,Identify Changes
,Relative Static Crop
,Background Color Visualization
,Bounding Box Visualization
,Ellipse Visualization
,Image Contours
,Label Visualization
,Classification Label Visualization
,Line Counter Visualization
,Byte Tracker
,LMM
,Stability AI Inpainting
,Reference Path Visualization
,VLM as Detector
,Dynamic Crop
,Byte Tracker
,Triangle Visualization
,Bounding Rectangle
,Absolute Static Crop
,Object Detection Model
,Time in Zone
,Detections Stitch
,Florence-2 Model
,SIFT Comparison
,Keypoint Detection Model
,Corner Visualization
,Perspective Correction
,Local File Sink
,Polygon Zone Visualization
,VLM as Classifier
,Image Slicer
,Trace Visualization
,Detections Consensus
,Webhook Sink
,OpenAI
,Twilio SMS Notification
,Roboflow Custom Metadata
,Crop Visualization
,Instance Segmentation Model
,Roboflow Dataset Upload
,Clip Comparison
,VLM as Classifier
,Anthropic Claude
,SIFT Comparison
,Image Blur
,Circle Visualization
,Image Convert Grayscale
,Dot Visualization
,Google Gemini
,Segment Anything 2 Model
,JSON Parser
,Single-Label Classification Model
,Identify Outliers
,Time in Zone
,Florence-2 Model
,Detections Stabilizer
,Path Deviation
,OpenAI
,Color Visualization
,Multi-Label Classification Model
,CSV Formatter
,Llama 3.2 Vision
,Detections Transformation
- outputs:
Multi-Label Classification Model
,Pixelate Visualization
,Path Deviation
,LMM For Classification
,Keypoint Detection Model
,Gaze Detection
,Line Counter
,Instance Segmentation Model
,CLIP Embedding Model
,Single-Label Classification Model
,Blur Visualization
,Mask Visualization
,Object Detection Model
,Line Counter
,YOLO-World Model
,Model Monitoring Inference Aggregator
,Cache Get
,Polygon Visualization
,Halo Visualization
,Google Vision OCR
,Email Notification
,Model Comparison Visualization
,CogVLM
,Image Threshold
,Keypoint Visualization
,Template Matching
,Image Preprocessing
,Slack Notification
,Roboflow Dataset Upload
,Background Color Visualization
,Bounding Box Visualization
,Label Visualization
,Classification Label Visualization
,Ellipse Visualization
,Line Counter Visualization
,LMM
,Reference Path Visualization
,Stability AI Inpainting
,Dynamic Crop
,Triangle Visualization
,Object Detection Model
,Distance Measurement
,Time in Zone
,Detections Stitch
,Florence-2 Model
,SIFT Comparison
,Keypoint Detection Model
,Corner Visualization
,Perspective Correction
,Local File Sink
,Polygon Zone Visualization
,Twilio SMS Notification
,Trace Visualization
,Webhook Sink
,Detections Consensus
,Size Measurement
,Roboflow Custom Metadata
,OpenAI
,Cache Set
,Instance Segmentation Model
,Crop Visualization
,Roboflow Dataset Upload
,Clip Comparison
,Anthropic Claude
,Image Blur
,Dot Visualization
,Circle Visualization
,Google Gemini
,Segment Anything 2 Model
,Single-Label Classification Model
,Time in Zone
,Florence-2 Model
,Path Deviation
,OpenAI
,Color Visualization
,Multi-Label Classification Model
,Pixel Color Count
,Llama 3.2 Vision
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Roboflow Dataset Upload
in version v1
has.
Bindings
-
input
images
(image
): The image to infer on.predictions
(Union[instance_segmentation_prediction
,object_detection_prediction
,keypoint_detection_prediction
,classification_prediction
]): Reference q detection-like predictions.target_project
(roboflow_project
): name of Roboflow dataset / project to be used as target for collected data.registration_tags
(string
): Tags to be attached to registered datapoints.disable_sink
(boolean
): boolean flag that can be also reference to input - to arbitrarily disable data collection for specific request.fire_and_forget
(boolean
): Boolean flag dictating if sink is supposed to be executed in the background, not waiting on status of registration before end of workflow run. UseTrue
if best-effort registration is needed, useFalse
while debugging and if error handling is needed.labeling_batch_prefix
(string
): Prefix of the name for labeling batches that will be registered in Roboflow app.
-
output
Example JSON definition of step Roboflow Dataset Upload
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/roboflow_dataset_upload@v1",
"images": "$inputs.image",
"predictions": "$steps.object_detection_model.predictions",
"target_project": "my_dataset",
"usage_quota_name": "quota-for-data-sampling-1",
"persist_predictions": true,
"minutely_usage_limit": 10,
"hourly_usage_limit": 10,
"daily_usage_limit": 10,
"max_image_size": [
512,
512
],
"compression_level": 75,
"registration_tags": [
"location-florida",
"factory-name",
"$inputs.dynamic_tag"
],
"disable_sink": true,
"fire_and_forget": true,
"labeling_batch_prefix": "my_labeling_batch_name",
"labeling_batches_recreation_frequency": "never"
}