Skip to content

Commit fbc384c

Browse files
authored
Lower confidence threshold in tests to avoid flakiness.
Differential Revision: D66146583 Pull Request resolved: #6949
1 parent f477fd5 commit fbc384c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo/Sources/MobileNet/Test/MobileNetClassifierTest.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ final class MobileNetClassifierTest: XCTestCase {
4848
modelFilePath: modelFilePath,
4949
labelsFilePath: labelsFilePath)
5050
for expectedClassification in [
51-
Classification(label: "Arctic fox", confidence: 0.92),
52-
Classification(label: "Samoyed", confidence: 0.74),
53-
Classification(label: "hot pot", confidence: 0.82),
51+
Classification(label: "Arctic fox", confidence: 0.9),
52+
Classification(label: "Samoyed", confidence: 0.7),
53+
Classification(label: "hot pot", confidence: 0.8),
5454
] {
5555
guard
5656
let imagePath = Bundle(for: type(of: self))

0 commit comments

Comments
 (0)