Active Learning
Run inference over a folder of images and upload predictions that meet your conditions back into a project for labeling review.
Basic usage
import roboflow
rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
ws = rf.workspace()
ws.active_learning(
raw_data_location="./frames",
raw_data_extension=".jpg",
inference_endpoint=["my-detector", 3], # [project, version]
upload_destination="my-detector", # destination project
conditionals={
"required_class_variance_count": 1, # at least 1 different class
"minimum_size_requirement": 100, # min pixels per detection
"maximum_size_requirement": 4000000,
"confidence_interval": [0, 60], # only low-confidence predictions
},
)Parameters
Why use it
Bigger pipelines
Last updated
Was this helpful?