Skip to content

Commit

Permalink
Add scratch of implementation for new Roboflow data collector sink
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelPeczek-Roboflow committed May 17, 2024
1 parent d388466 commit 6abb716
Show file tree
Hide file tree
Showing 7 changed files with 385 additions and 67 deletions.
2 changes: 1 addition & 1 deletion inference/core/roboflow_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def register_image_at_roboflow(
image_bytes: bytes,
batch_name: str,
tags: Optional[List[str]] = None,
inference_id=None,
inference_id: Optional[str] = None,
) -> dict:
url = f"{API_BASE_URL}/dataset/{dataset_id}/upload"
params = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class BlockManifest(WorkflowBlockManifest):
disable_active_learning: Union[
bool, WorkflowParameterSelector(kind=[BOOLEAN_KIND])
] = Field(
default=False,
default=True,
description="Parameter to decide if Active Learning data sampling is disabled for the model",
examples=[True, "$inputs.disable_active_learning"],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class BlockManifest(WorkflowBlockManifest):
disable_active_learning: Union[
bool, WorkflowParameterSelector(kind=[BOOLEAN_KIND])
] = Field(
default=False,
default=True,
description="Parameter to decide if Active Learning data sampling is disabled for the model",
examples=[True, "$inputs.disable_active_learning"],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class BlockManifest(WorkflowBlockManifest):
disable_active_learning: Union[
bool, WorkflowParameterSelector(kind=[BOOLEAN_KIND])
] = Field(
default=False,
default=True,
description="Parameter to decide if Active Learning data sampling is disabled for the model",
examples=[True, "$inputs.disable_active_learning"],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class BlockManifest(WorkflowBlockManifest):
disable_active_learning: Union[
bool, WorkflowParameterSelector(kind=[BOOLEAN_KIND])
] = Field(
default=False,
default=True,
description="Parameter to decide if Active Learning data sampling is disabled for the model",
examples=[True, "$inputs.disable_active_learning"],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class BlockManifest(WorkflowBlockManifest):
disable_active_learning: Union[
bool, WorkflowParameterSelector(kind=[BOOLEAN_KIND])
] = Field(
default=False,
default=True,
description="Parameter to decide if Active Learning data sampling is disabled for the model",
examples=[True, "$inputs.disable_active_learning"],
)
Expand Down
Loading

0 comments on commit 6abb716

Please sign in to comment.