Skip to content

Commit 68a2a53

Browse files
committed
package version bump to 5.0.4, test tolerance adjustment due to
unrelated PyTorch changes
1 parent ddce057 commit 68a2a53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "speciesnet"
7-
version = "5.0.3"
7+
version = "5.0.4"
88
authors = [
99
{name = "Google Camera Traps AI team", email = "cameratraps@google.com"},
1010
]

speciesnet/classifier_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,6 @@ def test_target_species_batched_vs_non_batched(
421421
non_batched["classifications"]["scores"],
422422
batched["classifications"]["scores"],
423423
rtol=1e-3, # 0.1% relative tolerance
424-
atol=1e-5, # 0.00001 absolute tolerance
424+
atol=1e-3, # 0.001 absolute tolerance
425425
err_msg=f"Scores mismatch for image {i} ({filepaths[i]})",
426426
)

0 commit comments

Comments
 (0)