microsoft / esvit

EsViT: Efficient self-supervised Vision Transformers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Training on custom dataset

madr3z opened this issue · comments

What a custom dataset structure should be like and how to train on it?
Let's say I have a dataset of two classes as the folder (binary): 1. Has cat, 2. No cat. In each sub-folder, there are images.
What changes to the code and dataset should I make?
Thanks in advance.

For pre-training, you don't have to change anything, the default hyper-parameter setting is set to deal with ImageFolders.