Skip to content

Comments

Use max trials as 3 for Notebook test runs#3607

Open
javed-73 wants to merge 1 commit intomainfrom
user/moansa/updatemaxtrialsfortests
Open

Use max trials as 3 for Notebook test runs#3607
javed-73 wants to merge 1 commit intomainfrom
user/moansa/updatemaxtrialsfortests

Conversation

@javed-73
Copy link
Contributor

@javed-73 javed-73 commented Jun 3, 2025

Description

Image object detection notebook is failing because of bad input.

image_object_detection_job = automl.image_object_detection(
compute=compute_name,
experiment_name=exp_name,
training_data=my_training_data_input,
validation_data=my_validation_data_input,
target_column_name="label",
primary_metric="mean_average_precision",
tags={"my_custom_tag": "My custom value"},
)

image_object_detection_job.set_limits(
max_trials=2,
max_concurrent_trials=2,
)

Issue: max trials used for running the sweep pipeline job uses max trials as 2, which is throwing "Error: Input request is invalid" as can be seen in the job

Updating to max trials as 3 fixes it.
Job

Checklist

  • I have read the contribution guidelines.
  • I have coordinated with the docs team (mldocs@microsoft.com) if this PR deletes files or changes any file names or file extensions.
  • Pull request includes test coverage for the included changes.
  • This notebook or file is added to the CODEOWNERS file, pointing to the author or the author's team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant