Skip to content

Commit

Permalink
rerun tests
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <[email protected]>
  • Loading branch information
helenxie-bit committed Aug 22, 2024
1 parent 4f6fc35 commit 038aeda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdk/python/v1beta1/kubeflow/katib/api/katib_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,15 +743,14 @@ class name in this argument.
)

# Add metrics collector to the Katib Experiment.
# Specify metrics format for the collector.
# Specify metrics format for the collector, for example: 'train_loss':0.846
experiment.spec.metrics_collector_spec = models.V1beta1MetricsCollectorSpec(
collector=models.V1beta1CollectorSpec(
kind=metrics_collector_config["kind"]
),
source=models.V1beta1SourceSpec(
filter=models.V1beta1FilterSpec(
metrics_format=[
# For example: 'train_loss':0.846
r"'([\w|-]+)'\s*:\s*([+-]?\d*(\.\d+)?([Ee][+-]?\d+)?)",
]
)
Expand Down

0 comments on commit 038aeda

Please sign in to comment.