Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ImagenetClasses = [1001]string{}/* 1001 elements not displayed */
ImagenetClasses holds the Imagenet class names. Source github.com/tensorflow/models/research/slim/datasets/imagenet.py
Functions ¶
func GetInputShape ¶
GetInputShape finds the input image dimensions.
Types ¶
type Confidence ¶
Confidence is a pair of logit value and the corresponding class index.
func SelectTopN ¶
func SelectTopN(confs []float32, n int) []Confidence
SelectTopN chooses the biggest n logits.
Click to show internal directories.
Click to hide internal directories.