|
27 | 27 | "target": torch.tensor([[[[1.0, 0.0], [1.0, 1.0]]]]), |
28 | 28 | "mask": torch.tensor([[[[0.0, 0.0], [1.0, 1.0]]]]), |
29 | 29 | }, |
30 | | - 0.500, |
| 30 | + 0.333333, |
31 | 31 | ], |
32 | 32 | [ # shape: (2, 1, 2, 2), (2, 1, 2, 2) |
33 | 33 | {"include_background": True, "sigmoid": True, "smooth_nr": 1e-4, "smooth_dr": 1e-4}, |
|
36 | 36 | "target": torch.tensor([[[[1.0, 1.0], [1.0, 1.0]]], [[[1.0, 0.0], [1.0, 0.0]]]]), |
37 | 37 | "mask": torch.tensor([[[[1.0, 1.0], [1.0, 1.0]]], [[[1.0, 1.0], [0.0, 0.0]]]]), |
38 | 38 | }, |
39 | | - 0.422969, |
| 39 | + 0.301128, |
40 | 40 | ], |
41 | 41 | [ # shape: (2, 2, 3), (2, 1, 3) |
42 | 42 | {"include_background": False, "to_onehot_y": True, "smooth_nr": 0, "smooth_dr": 0}, |
|
54 | 54 | "target": torch.tensor([[[1.0, 0.0, 0.0]], [[1.0, 1.0, 0.0]]]), |
55 | 55 | "mask": torch.tensor([[[1.0, 1.0, 0.0]]]), |
56 | 56 | }, |
57 | | - 0.47033, |
| 57 | + 0.579184, |
58 | 58 | ], |
59 | 59 | [ # shape: (2, 2, 3), (2, 1, 3) |
60 | 60 | { |
|
0 commit comments