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

Mix of images with own dataset #30

Open
eplatas opened this issue Oct 14, 2022 · 0 comments
Open

Mix of images with own dataset #30

eplatas opened this issue Oct 14, 2022 · 0 comments

Comments

@eplatas
Copy link

eplatas commented Oct 14, 2022

Hi, thank you very much, your work is very interesting; I have a question regarding the datset, I'm working with the code that you uploaded in Colab, if I want to train with my own data, how do I modify the line of code?

I modify la line of torchvision, I chance CIFAR10 to ImageFolder and I structure the folders according to ImageNet but I'm still having problems.

testset = torchvision.datasets.ImageFolder(root="/root/test/all/", transform=transforms.Compose([transforms.ToTensor()]), target_transform=None).

I thank you very much for your time and attention

cheers

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

1 participant