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

Custom Dataset #1

Open
nomaad42 opened this issue Aug 22, 2021 · 2 comments
Open

Custom Dataset #1

nomaad42 opened this issue Aug 22, 2021 · 2 comments

Comments

@nomaad42
Copy link

Hi!
Thanks a lot for your great work!

Can you, please, share how I can train on my custom dataset?

@OscarWei61
Copy link

Want to ask the same thing, thanks!

@luan-g
Copy link

luan-g commented May 20, 2022

@Cwei61
Use the same data format as datasets.ImageFolder :

|-Training Dataset ($DIR in main.sh)
	|-Class#1
		|-ImageFile#1 (suffix is defined as $SUFFIX in main.sh)
		|-ImageFile#2
		...
		|-ImageFile#m
	|-Class#2
	...
	|-Class#n

Sub-folder name is treated as ground-truth label, which is used to evaluate NMI metric with ground-truth.

If you do not have ground-truth label and just want to apply image clustering w/o performance evaluation, you can simply set only one sub-folder and put your image data into the sub-folder.

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

3 participants