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

train T2T-ViT on the custom dataset #55

Open
123-xin opened this issue May 19, 2021 · 1 comment
Open

train T2T-ViT on the custom dataset #55

123-xin opened this issue May 19, 2021 · 1 comment

Comments

@123-xin
Copy link

123-xin commented May 19, 2021

Hello, thank you very much for your work.
Can you tell me how my training set and label format should be set up if I train the network on a custom dataset.
(My custom dataset is divided into two categories )

@yuanli2333
Copy link
Collaborator

Hi, you should write a dataloader to load your own data,

Or if you want to use our repo to train, you should reorganize the data structure of your dataset as ImageNet:

│imagenet/
├──train/
│ ├── n01440764
│ │ ├── n01440764_10026.JPEG
│ │ ├── n01440764_10027.JPEG
│ │ ├── ......
│ ├── ......
├──val/
│ ├── n01440764
│ │ ├── ILSVRC2012_val_00000293.JPEG
│ │ ├── ILSVRC2012_val_00002138.JPEG
│ │ ├── ......
│ ├── ......

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

2 participants