Skip to content

Commit 3730fef

Browse files
committed
🐛 Fix unet test
1 parent f813ffd commit 3730fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models/test_arch_unet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_functional_unet(remote_sample: Callable) -> None:
5050
pretrained = torch.load(pretrained_weights, map_location="cpu")
5151
model.load_state_dict(pretrained)
5252
output = model.infer_batch(model, batch, device=select_device(on_gpu=ON_GPU))
53-
_ = output["probabilities"][0]
53+
_ = output[0]
5454

5555
# run untrained network to test for architecture
5656
model = UNetModel(

0 commit comments

Comments
 (0)