CIFAR-100

CIFAR-100 computer-vision training dataset

The CIFAR-100 dataset contains 50,000 training and 10,000 test images of 20 object classes, along with 100 object subclasses. It is traditional to train on the 100 object subclasses. Each image is an RGB image of size 32x32.

(50000 elements)

Examples

Basic Examples

Retrieve the resource:

In[1]:=
ResourceObject["CIFAR-100"]
Out[2]=

View the data:

In[3]:=
ResourceData["CIFAR-100"]
Out[4]=

Analysis

View the list of classes in the dataset:

In[5]:=
classes = DeleteDuplicates[Values[ResourceData["CIFAR-100"]]]
Out[5]=

Obtain one example of each class:

In[6]:=
sample = Cases[ResourceData["CIFAR-100"], HoldPattern[_ -> #]][[-1]] & /@ classes
Out[6]=

Test the ImageIdentify function on an example image:

In[7]:=
example = \!\(\*
GraphicsBox[
TagBox[RasterBox[CompressedData["
1:eJw10/lTWlmiB/Cueb+8H6dqfngzbaKx85LpnkxcEjV2Eo24sLkg+y4g6xWE
CIioyL7KDioIGsQN3FA0ioA7rnGL0XTSPfXe3/Juut9Ufe6pe8495/ute6tu
YbsEw/vTd999J/tPcMCweiBSKasX+2dwghfLAL6Yy0GI5Vw+V1rZ/h/g4oP/
v77dc42zNZ3vqjuna6Xz9d2JBuUKTJmE9a7C+1YR/e+R/etNqo2mgY1mdQrU
otlEadIobRqly6D0mVZ9tlW/hTaAtjH/htZnwW3gKXhvsr57AauK1ctiUMUS
GNik3mhSpxrVG43qVJMm1azdbPk9qlWXBU9hDFvfEozbWOMO1ryLNe9hLXu4
3+Et+3hLjmDNEWw5vHUffAo2gmeRqjWoPA7rWUSpVzH6DbR+E6UDM1MtOtAm
Sp9G69MYfQZjyGKNWZxpG//NDt68g7fuEWz7BNu3kWjbJ9kOSLYcaTBHsh+R
7Dmi7QBn2cWYtlq0m039iRb1Kt6UIlvSOFMGa8pgjH/IYk1ZnDmLN2+DgQTr
Dsm2Sxr8FkUePCDbD8iOHIjqPKQ6Ding6DoBUVynFOcx1XlCcRyDvTjzDs7w
HmdKEaxpki1LtG0TrVtE2xbJtg0Cp2T7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OfB
ePkw7gMI8x5UcJ8sKbba6FfZocsNx9l75/4y2OI/T3muMsOH6x5xT30VNr8a
8xDHfdbKKvo/4AfrMg==
"], {{0, 32}, {32, 0}}, {0, 255},
ColorFunction->RGBColor],
BoxForm`ImageTag["Byte", ColorSpace -> "RGB", Interleaving -> True],
Selectable->False],
DefaultBaseStyle->"ImageGraphics",
ImageSizeRaw->{32, 32},
PlotRange->{{0, 32}, {0, 32}}]\) -> "castle"
Out[28]=
In[29]:=
ImageIdentify[Keys[example]]
Out[29]=

Wolfram Research, "CIFAR-100" from the Wolfram Data Repository (2018)   https://doi.org/10.24097/wolfram.36758.data

Data Resource History

Source Metadata

Publisher Information