gci stuff

This commit is contained in:
Patrick Devine 2024-11-12 21:30:17 -08:00
parent 016a3df89d
commit 1cd76f712b

View File

@ -61,7 +61,7 @@ func Preprocess(imageData io.Reader) ([]float32, map[string]any, error) {
img = resizeImage(img, format, longestEdge, patchSize)
data := imageproc.Normalize(img, imageproc.ClipDefaultMean, imageproc.ClipDefaultSTD, true, true)
data := imageproc.Normalize(img, imageproc.ClipDefaultMean, imageproc.ClipDefaultSTD, true, true)
opts := map[string]any{}
return data, opts, nil