Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to train your own dataset #140

Open
biyuefeng opened this issue Apr 12, 2024 · 5 comments
Open

How to train your own dataset #140

biyuefeng opened this issue Apr 12, 2024 · 5 comments

Comments

@biyuefeng
Copy link

Hello, I currently have my own dataset labeled with labelme, which has been converted to Coco format. The list is as follows:

${DATASET_ROOT} # 数据集根目录,例如:/home/username/data/NWPU
├── annotations
│ ├── train.json
│ ├── val.json
│ └── test.json
└── images
├── train
├── val
└── test

Excuse me, can this be trained directly?

@EricZavier
Copy link

I also want to train my own dataset, but it seems the situation is not very promising.If you find a solution, please share it. Thank you very much.

@jwyang
Copy link
Collaborator

jwyang commented May 15, 2024

Hi, there are roughly two steps:

  1. register your dataset following the sample code in: https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once/tree/v1.0/datasets/registration
  2. create a dataset mapper following the sample code in: https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once/tree/v1.0/datasets/dataset_mappers

you can refer to the code for coco or other datasets used in our training.

@EricZavier
Copy link

"Okay, thank you very much for your patient explanation. I'll give it a try now."

@EricZavier
Copy link

图片1

"I have another question. How can I construct JSON files like those in the image based on my annotated dataset?"

Hi, there are roughly two steps:

1. register your dataset following the sample code in: https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once/tree/v1.0/datasets/registration

2. create a dataset mapper following the sample code in: https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once/tree/v1.0/datasets/dataset_mappers

you can refer to the code for coco or other datasets used in our training.

@MaureenZOU
Copy link
Collaborator

To construct JSON file please ask GPT4. Hhh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants