Don't attempt to fetch missing images in changed list
This commit is contained in:
parent
f956b8b4d2
commit
026336f24d
@ -144,6 +144,7 @@ final class ClassifierCreator {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
let changedImageList = await getChangedImageList()
|
let changedImageList = await getChangedImageList()
|
||||||
|
.filter { $0.image < imageCounts[$0.cap] ?? 0 } // Filter non-existent images
|
||||||
|
|
||||||
if changedImageList.isEmpty {
|
if changedImageList.isEmpty {
|
||||||
print("[INFO] No changed images to load")
|
print("[INFO] No changed images to load")
|
||||||
|
Loading…
Reference in New Issue
Block a user