gci stuff
This commit is contained in:
parent
016a3df89d
commit
1cd76f712b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user