transformers/docs/source
Anindyadeep 74d9d0cebb
Fixing visualization code for object detection to support both types of bounding box. (#27842)
* fix: minor enhancement and fix in bounding box visualization example

The example that was trying to visualize the bounding box was not considering an edge case,
where the bounding box can be un-normalized. So using the same set of code, we can not get
results with a different dataset with un-normalized bounding box. This commit fixes that.

* run make clean

* add an additional note on the scenarios where the box viz code works

---------

Co-authored-by: Anindyadeep <anindya@pop-os.localdomain>
2023-12-22 13:24:40 +00:00
..
de docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
en Fixing visualization code for object detection to support both types of bounding box. (#27842) 2023-12-22 13:24:40 +00:00
es [Doc] Spanish translation of glossary.md (#27958) 2023-12-13 09:21:59 -08:00
fr [i18n-fr] Translate autoclass tutorial to French (#27659) 2023-12-07 07:44:14 +01:00
hi Hindi translation of pipeline_tutorial.md (#26837) 2023-10-25 11:21:49 -07:00
it docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
ja Add model_docs from cpmant.md to derformable_detr.md (#27884) 2023-12-13 10:02:29 -08:00
ko Update bounding box format everywhere (#27944) 2023-12-11 18:03:42 +00:00
ms TVP model (#25856) 2023-11-21 16:41:55 +00:00
pt docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
te Added Telugu [te] translations (#26828) 2023-10-20 15:27:55 -07:00
tr Translate index.md to Turkish (#27093) 2023-11-08 08:35:20 -05:00
zh doc: Correct spelling mistake (#28064) 2023-12-15 13:01:39 +00:00
_config.py [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00