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

Other data sets #1

Open
achaiah opened this issue Sep 15, 2016 · 3 comments
Open

Other data sets #1

achaiah opened this issue Sep 15, 2016 · 3 comments

Comments

@achaiah
Copy link

achaiah commented Sep 15, 2016

How could this generator be adapted to a custom data set?

@Coldmooon
Copy link
Owner

@achaiah Sorry for the late reply. This generator is currently implemented to replicate the results of the original paper on the CIFAR dataset. I haven't implemented the generator for ImageNet. The CIFAR ResNet accepts 32*32 inputs, and outputs 10 scores for 10 classes. So if you want to adapt the CIFAR ResNet to your own dataset, you should change 10 to the number of classes of your dataset. The size of images should be similiar to CIFAR, or you'd better consider the ImageNet ResNet-34/50/101/152.

@Coderx7
Copy link

Coderx7 commented Feb 7, 2017

@Coldmooon : by the way do you happen to still have the preprocessed datasets for CIFRAR10? or share the script as well for a quick and hassle free benchmark comparing your results and ours?

@Coldmooon
Copy link
Owner

@Coderx7 : The ZCA whitened CIFAR dataset (no pad) can be downloaded from https://gist.github.com/mavenlin/e56253735ef32c3c296d#descriptions.

The ZCA whitened CIFAR dataset ( padded with 8 pixels for each side ) can be found here,
https://github.com/flukeskywalker/highway-networks

For the 4-pixel padding case, the script is at https://github.com/lisa-lab/pylearn2/blob/master/pylearn2/scripts/datasets/make_cifar10_gcn_whitened.py
and refer to https://gist.github.com/hiwonjoon/8f91034cc1168f2d2dd5

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