From 52a6e7bae2fdacc5892a6b7db13227171373e71c Mon Sep 17 00:00:00 2001 From: Pavel Iakubovskii Date: Mon, 6 May 2024 21:40:12 +0000 Subject: [PATCH] Minor updates, links --- docs/source/en/tasks/object_detection.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/source/en/tasks/object_detection.md b/docs/source/en/tasks/object_detection.md index af12e16b1b4270..eeeb722e926d30 100644 --- a/docs/source/en/tasks/object_detection.md +++ b/docs/source/en/tasks/object_detection.md @@ -172,7 +172,9 @@ To get an even better understanding of the data, visualize an example in the dat >>> image ``` -![png](https://i.imgur.com/oVQb9SF.png) +
+ CPPE-5 Image Example +
To visualize the bounding boxes with associated labels, you can get the labels from the dataset's metadata, specifically @@ -1433,7 +1435,7 @@ Finally, bring everything together, and call [`~transformers.Trainer.train`]:

If you have set `push_to_hub` to `True` in the `training_args`, the training checkpoints are pushed to the -Hugging Face Hub. Upon training completion, push the final model to the Hub as well by calling the [push_to_hub()](https://huggingface.co/docs/transformers/main/en/main_classes/trainer#transformers.Trainer.push_to_hub) method. +Hugging Face Hub. Upon training completion, push the final model to the Hub as well by calling the [`~transformers.Trainer.push_to_hub`] method. ```py >>> trainer.push_to_hub() @@ -1551,4 +1553,7 @@ Let's plot the result: >>> resized_image ``` -![png](https://i.imgur.com/oDUqD0K.png) + +

+ Object detection result on a new image +