Skip to content

The doc of CocoDetection() and CocoCaptions() should say "You must install pycocotools." #8850

@hyperkai

Description

@hyperkai

📚 The doc issue

The doc of CocoDetection() and CocoCaptions() says below:

It requires the COCO API to be installed.

But COCO API doesn't work because it's outdated.

Suggest a potential alternative/fix

So, the doc should say as shown below:

You must install pycocotools, e.g. pip install pycocotools, conda install conda-forge::pycocotools, etc. *Don't use COCO API because it doesn't work because it's outdated.

Activity

NicolasHug

NicolasHug commented on Jan 13, 2025

@NicolasHug
Member

Thanks @hyperkai , that's fair - would you mind submitting a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @NicolasHug@hyperkai

      Issue actions

        The doc of `CocoDetection()` and `CocoCaptions()` should say "You must install `pycocotools`." · Issue #8850 · pytorch/vision