mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-26 18:17:44 +00:00
Small edits (#901)
This commit is contained in:
@@ -137,7 +137,7 @@ task = Task.init(
|
||||
# Load a model
|
||||
model_variant = "yolov8n"
|
||||
# Log "model_variant" parameter to task
|
||||
task.set_parameter("model_variant", model_variant)
|
||||
task.set_parameter(name="model_variant", value=model_variant)
|
||||
|
||||
# Load the YOLOv8 model
|
||||
model = YOLO(f'{model_variant}.pt')
|
||||
|
||||
Reference in New Issue
Block a user