Skip to content

Commit 377d52f

Browse files
zustonandreyvelich
andauthored
Invalid example url (#1417)
* Invalid example url * Update pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py Co-authored-by: Andrey Velichkevich <[email protected]> Co-authored-by: Andrey Velichkevich <[email protected]>
1 parent 28104e6 commit 377d52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/metricscollector/v1beta1/tfevent-metricscollector/tfevent_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
# TFEventFileParser parses tfevent files and returns an ObservationLog of the metrics specified.
1010
# When the event file is under a directory(e.g. test dir), please specify "{{dirname}}/{{metrics name}}"
11-
# For example, in the TensorFlow official tutorial for mnist with summary (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py),
12-
# the "accuracy" metric is saved under "train" and "test" directories. So in Katib, please specify name of metrics as "train/accuracy" and "test/accuracy".
11+
# For example, in the kubeflow tf-operator tutorial for mnist with summary (https://github.com/kubeflow/tf-operator/blob/master/examples/v1/mnist_with_summaries/mnist_with_summaries.py),
12+
# the "accuracy" metric is saved under "train" and "test" directories. So in the Metrics Collector specification, please specify name of "train" or "test" directory. Check TFJob example for more information: https://github.com/kubeflow/katib/blob/master/examples/v1beta1/tfjob-example.yaml#L16-L22
1313

1414

1515
class TFEventFileParser:

0 commit comments

Comments
 (0)