Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
integration-py3:
container:
image: nvcr.io/nvidia/pytorch:21.12-py3 # CUDA 11.5
options: --gpus all
options: --gpus all # shm-size 4g works fine
runs-on: [self-hosted, linux, x64, common]
steps:
# checkout the pull request branch
Expand Down
2 changes: 1 addition & 1 deletion tests/test_add_extreme_points_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class TestAddExtremePointsChannel(unittest.TestCase):
def test_correct_results(self, input_data, expected):
add_extreme_points_channel = AddExtremePointsChannel()
result = add_extreme_points_channel(**input_data)
assert_allclose(result[IMG_CHANNEL], expected, rtol=1e-4)
assert_allclose(result[IMG_CHANNEL], expected, rtol=1e-4, atol=1e-5)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion tests/test_add_extreme_points_channeld.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_correct_results(self, input_data, expected):
keys="img", label_key="label", sigma=1.0, rescale_min=0.0, rescale_max=1.0
)
result = add_extreme_points_channel(input_data)
assert_allclose(result["img"][IMG_CHANNEL], expected, rtol=1e-4)
assert_allclose(result["img"][IMG_CHANNEL], expected, rtol=1e-4, atol=1e-5)


if __name__ == "__main__":
Expand Down