notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

`Object detection task` notebooks in transformers documentation broken

Open sergiopaniego opened this issue 1 year ago • 0 comments

In the Object detection task documentation in transformers, the content of the documentation and the notebooks is different. In addition, the notebooks associated with this documentation are broken.

For example, it includes the following line:

obj_detector = pipeline("object-detection", model="MariaK/detr-resnet-50_finetuned_cppe5")

that points to a model (MariaK/detr-resnet-50_finetuned_cppe5) that is not available in the HF Hub.

Possible solution:

  • Porting the documentation content to the notebooks, since it seems up-to-date and works correctly.

sergiopaniego avatar Sep 07 '24 09:09 sergiopaniego