labels

fun labels(zeroIndexed: Boolean = true): Map<Int, String>

Returns map of Imagenet labels according to the Imagenet version.

Parameters

zeroIndexed

if true, then labels are indexed from 0, otherwise from 1.