Variants-ResNet-Prototxt-Caffe icon indicating copy to clipboard operation
Variants-ResNet-Prototxt-Caffe copied to clipboard

Other data sets

Open achaiah opened this issue 9 years ago • 3 comments

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

achaiah avatar Sep 15 '16 21:09 achaiah

@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.

Coldmooon avatar Sep 20 '16 04:09 Coldmooon

@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?

Coderx7 avatar Feb 07 '17 05:02 Coderx7

@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

Coldmooon avatar Feb 12 '17 06:02 Coldmooon