Fix doc links (#22274)

This commit is contained in:
amyeroberts
2023-03-20 17:07:31 +00:00
committed by GitHub
parent da005253b8
commit 8ac29fe090
8 changed files with 21 additions and 21 deletions

View File

@@ -412,7 +412,7 @@ Convert your datasets to the `tf.data.Dataset` format using the [`~datasets.Data
... )
```
To compute the accuracy from the predictions and push your model to the 🤗 Hub, use [Keras callbacks](./main_classes/keras_callbacks).
To compute the accuracy from the predictions and push your model to the 🤗 Hub, use [Keras callbacks](../main_classes/keras_callbacks).
Pass your `compute_metrics` function to [`KerasMetricCallback`],
and use the [`PushToHubCallback`] to upload the model:
@@ -587,4 +587,4 @@ To visualize the results, load the [dataset color palette](https://github.com/te
<div class="flex justify-center">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/semantic-seg-preds.png" alt="Image of bedroom overlaid with segmentation map"/>
</div>
</div>