Skip to content

ModuleNotFoundError: No module named 'detectron2.data.datasets' when reproducing #2

@kieran0625

Description

@kieran0625

Hello, I'm a newbie in computer vision. First of all, thank you so much for your excellent work!

I encountered the following error when trying to reproduce the code:

ModuleNotFoundError: No module named 'detectron2.data.datasets'
and
ModuleNotFoundError: No module named 'detrex.data.datasets'

I noticed that the datasets folder seems to be missing from the detectron directory. May I ask if this folder was accidentally left out from the repository?

In addition, I'm trying to train the model with my own dataset, but I'm not sure how to modify the code to support custom data.

Could you please provide some guidances?

Thank you very much for your help and clarification!
Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions