Commit
·
acf7440
1
Parent(s):
7b271ac
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -652,7 +652,7 @@ class YoloCAM(BaseCAM):
|
|
| 652 |
self,
|
| 653 |
input_tensor: torch.Tensor,
|
| 654 |
scaled_anchors: torch.Tensor,
|
| 655 |
-
targets:
|
| 656 |
eigen_smooth: bool = False,
|
| 657 |
) -> np.ndarray:
|
| 658 |
if self.cuda:
|
|
|
|
| 652 |
self,
|
| 653 |
input_tensor: torch.Tensor,
|
| 654 |
scaled_anchors: torch.Tensor,
|
| 655 |
+
targets: list[torch.nn.Module],
|
| 656 |
eigen_smooth: bool = False,
|
| 657 |
) -> np.ndarray:
|
| 658 |
if self.cuda:
|