mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 08:44:04 +01:00
Fix AI Faces test.
The test was broken because of the new parameters
This commit is contained in:
@@ -54,7 +54,7 @@ func TestNet(t *testing.T) {
|
||||
|
||||
var embeddings = make(Embeddings, 11)
|
||||
|
||||
faceNet := NewModel(modelPath, "testdata/cache", 160, []string{"serve"}, false)
|
||||
faceNet := NewModel(modelPath, "testdata/cache", 160, nil, false)
|
||||
|
||||
if err := fastwalk.Walk("testdata", func(fileName string, info os.FileMode) error {
|
||||
if info.IsDir() || filepath.Base(filepath.Dir(fileName)) != "testdata" {
|
||||
|
||||
Reference in New Issue
Block a user