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 #89

Open
DianeBouchacourt opened this issue Mar 8, 2021 · 1 comment
Open

Custom dataset #89

DianeBouchacourt opened this issue Mar 8, 2021 · 1 comment

Comments

@DianeBouchacourt
Copy link

Hi,

Thank you very much for setting this library ! If I am correct, one can use a custom dataset by creating the corresponding data_loader, and updating accordingly the function:

def _get_dataloader_with_labels(name, dset_dir, batch_size, seed, num_workers, image_size, include_labels, pin_memory,

This will run with the training and evaluation metrics code? There is nothing specific to dSprites and CelebA?

@amir-abdi
Copy link
Owner

Hi,
I don't think I have made much assumptions on dSprites and/or CelebA datasets. However, looking at the code, I hope I had implemented the data loader following a more object oriented design so that you can create your own dataloader for your own dataset without having to deal with the if/else scenarios for dSprites and CelebA.

Anyhow, to answer your question: yes, you can add your own dataset following what I have done for celebA and dSprites.

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