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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C++ API] Support for CIFAR10 and CIFAR100 Datasets #34862
Comments
@prabhuomkar Thanks a lot for the suggestions! My personal take is that we should put the C++ vision datasets in https://github.com/pytorch/vision, same as the Python ones. @fmassa Curious what are your thoughts on this? |
@fmassa would like to know your thoughts on this before closing this. |
@prabhuomkar Did you finally implement support for CIFAR-10/ImageNet in C++ in torchvision? |
@soumyadipghosh Will be creating PR very soon! |
@prabhuomkar Thats great! Are you aware of anything similar for ImageNet? |
Not yet, will try to add one by this weekend as an example |
That would be nice! |
@soumyadipghosh use this prabhuomkar/pytorch-cpp#73 to track? |
Ok |
馃殌 Feature
C++ API should support Famous Open Datasets CIFAR10 and CIFAR100.
Dataset Reference: https://www.cs.toronto.edu/~kriz/cifar.html
Motivation
While creating PyTorch C++ tutorials https://github.com/prabhuomkar/pytorch-cpp, I came to know that PyTorch has support for these datasets via vision. As of now, C++ API for Datasets only has MNIST.
Support for standard datasets like CIFAR, COCO, ImageNet, etc out of the box will help developers play with C++ API easily.
Pitch
TORCH_API
CIFAR
class.CIFAR10
andCIFAR100
support similar to vision for reading images, targets and getting train/test data.Alternatives
N/A
Additional context
Reference C++ Implementation: cifar10.h and cifar10.cpp
Reference Python Implementation: cifar.py
cc @yf225 @fmassa
The text was updated successfully, but these errors were encountered: