Skip to content

Commit

Permalink
Use object detection images from huggingface/documentation-images (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mariosasko authored Aug 25, 2023
1 parent dba64cd commit 392d8a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/object_detection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ You can visualize the `bboxes` on the image using some internal torch utilities.
```

<div class="flex justify-center">
<img src="https://huggingface.co/datasets/nateraw/documentation-images/resolve/main/visualize_detection_example.png">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets/visualize_detection_example.png">
</div>


Expand Down Expand Up @@ -113,7 +113,7 @@ Now when you visualize the result, the image should be flipped, but the `bboxes`
```

<div class="flex justify-center">
<img src="https://huggingface.co/datasets/nateraw/documentation-images/resolve/main/visualize_detection_example_transformed.png">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets/visualize_detection_example_transformed.png">
</div>

Create a function to apply the transform to a batch of examples:
Expand Down Expand Up @@ -155,7 +155,7 @@ You can verify the transform works by visualizing the 10th example:
```

<div class="flex justify-center">
<img src="https://huggingface.co/datasets/nateraw/documentation-images/resolve/main/visualize_detection_example_transformed_2.png">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets/visualize_detection_example_transformed_2.png">
</div>

<Tip>
Expand Down

0 comments on commit 392d8a4

Please sign in to comment.