All Projects → guillaume-chevalier → caffe-cifar-10-and-cifar-100-datasets-preprocessed-to-HDF5

guillaume-chevalier / caffe-cifar-10-and-cifar-100-datasets-preprocessed-to-HDF5

Licence: other
Both deep learning datasets can be imported in python directly with h5py (HDF5 format). The datasets can be directly imported or converted with a python script.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to caffe-cifar-10-and-cifar-100-datasets-preprocessed-to-HDF5

TensorRT-LPR
车牌识别,基于HyperLPR实现,修改模型调用方法,使用caffe+tensorRT实现GPU加速,修改了车牌检测模型
Stars: ✭ 14 (+0%)
Mutual labels:  caffe
Face-Attributes-MultiTask-Classification
Use Cafffe to do Face Attributes MultiTask Classification based on CelebA data sets
Stars: ✭ 32 (+128.57%)
Mutual labels:  caffe
Similarity-Adaptive-Deep-Hashing
Unsupervised Deep Hashing with Similarity-Adaptive and Discrete Optimization (TPAMI2018)
Stars: ✭ 18 (+28.57%)
Mutual labels:  caffe
SSD Tracker
Counting people, dog and bicycle using SSD detection and tracking.
Stars: ✭ 17 (+21.43%)
Mutual labels:  caffe
FDCNN
The implementation of FDCNN in paper - A Feature Difference Convolutional Neural Network-Based Change Detection Method
Stars: ✭ 54 (+285.71%)
Mutual labels:  caffe
caffe-demo
Collection of deep learning demos based on neworks from the Caffe Zoo
Stars: ✭ 15 (+7.14%)
Mutual labels:  caffe
caffe-mobilenet-v3
Caffe Implementation of MobileNets V3
Stars: ✭ 127 (+807.14%)
Mutual labels:  caffe
Caffe Rotate Pool
Rotate RoI Align and Rotate Position Sensitive RoI Align Operation in Caffe
Stars: ✭ 16 (+14.29%)
Mutual labels:  caffe
faster-rcnn-pedestrian-detection
Faster R-CNN for pedestrian detection
Stars: ✭ 31 (+121.43%)
Mutual labels:  caffe
MobilenetSSD caffe
How to train and verify mobilenet by using voc pascal data in caffe ssd?
Stars: ✭ 25 (+78.57%)
Mutual labels:  caffe
Faster rcnn Cplusplus vs2013
faster-rcnn_VS2013with C++
Stars: ✭ 77 (+450%)
Mutual labels:  caffe
XLearning-GPU
qihoo360 xlearning with GPU support; AI on Hadoop
Stars: ✭ 22 (+57.14%)
Mutual labels:  caffe
kernelized correlation filters gpu
Real-time visual object tracking using correlations filters and deep learning
Stars: ✭ 27 (+92.86%)
Mutual labels:  caffe
vqa-soft
Accompanying code for "A Simple Loss Function for Improving the Convergence and Accuracy of Visual Question Answering Models" CVPR 2017 VQA workshop paper.
Stars: ✭ 14 (+0%)
Mutual labels:  caffe
autodial
AutoDIAL Caffe Implementation
Stars: ✭ 28 (+100%)
Mutual labels:  caffe
nettutorial
Deep learning tutorial
Stars: ✭ 27 (+92.86%)
Mutual labels:  caffe
all-classifiers-2019
A collection of computer vision projects for Acute Lymphoblastic Leukemia classification/early detection.
Stars: ✭ 24 (+71.43%)
Mutual labels:  caffe
waifu2x-chainer
Chainer implementation of waifu2x
Stars: ✭ 137 (+878.57%)
Mutual labels:  caffe
uai-sdk
UCloud AI SDK
Stars: ✭ 34 (+142.86%)
Mutual labels:  caffe
CAM-Python
Class Activation Mapping with Caffe using the Python wrapper pycaffe instead of matlab.
Stars: ✭ 66 (+371.43%)
Mutual labels:  caffe

Caffe cifar-10 and cifar-100 datasets preprocessed to HDF5 (can be opened in PyCaffe with h5py)

Both deep learning datasets can be imported in python directly with h5py (HDF5 format) once downloaded and converted by the script.

NOTE: For each dataset (separately), the training set has been shuffled and put in a single batch, it was originally split into 5 files and not shuffled. Test sets has also been shuffled, but remained separated from the training sets.

Usage

If you got the requirements or got caffe installed, you can simply do this, with the cifar-10 dataset as an example:

wget https://raw.githubusercontent.com/guillaume-chevalier/Caffe-cifar-10-and-cifar-100-datasets-preprocessed-to-HDF5/master/download-and-convert-cifar-10.py

python download-and-convert-cifar-10.py

Not shuffling datasets

If you do not want the datasets to be shuffled nor merged, my scripts can be a good starting point for the complete conversion of the cifar 10 and 100 datasets to the HDF5 caffe format. You may refer to this interesting tutorial to understand better how to do the conversion: https://github.com/BVLC/caffe/blob/master/examples/02-brewing-logreg.ipynb

Datasets shape info

cifar-10

Each element are of shape 3*32*32: print(X.shape) --> (50000, 3, 32, 32)

From the Caffe documentation: "The conventional blob dimensions for batches of image data are number N x channel K x height H x width W."

The labels are integer (not length 10 vectors with one-hot encoding). As an example, caffe does the encoding itself with the SoftmaxWithLoss layer when the previous layer is an InnerProduct with setting num_output=10.

cifar-100

The data has the same shape than in the cifar-10 dataset. However, the dataset has two labels per image: while building caffe layers, the label data will not exist in the HDF5 format, it will be label_coarse and label_fine. Please refer to the original datasets' page for info about the number of classes in each coarse and fine labels. Also note that I did NOT tested the cifar-100 dataset, only the cifar-10.

Link to original datasets

https://www.cs.toronto.edu/~kriz/cifar.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].