Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultCachePath = "./.models/"
)
View Source
const (
ImageDimensions = 224
)
Variables ¶
View Source
var (
ErrNoneCached = errors.New("no cached models")
)
Functions ¶
This section is empty.
Types ¶
type Prediction ¶
type Prediction struct {
Drawings float32
Hentai float32
Neutral float32
Porn float32
Sexy float32
}
func (Prediction) Describe ¶
func (p Prediction) Describe() string
type Predictor ¶
type Predictor struct {
// contains filtered or unexported fields
}
func NewLatestPredictor ¶
func NewPredictor ¶
Click to show internal directories.
Click to hide internal directories.