Keras Deep Learning Cookbook
上QQ阅读APP看书,第一时间看更新

Specifying the label mode

This can be specified by a flag in the load_data() function:

(X_train, y_train), (X_test, y_test) = cifar100.load_data(label_mode='fine')