Skip to content

Commit ac3f68c

Browse files
authored
fix typo
1 parent 74a68e3 commit ac3f68c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

efficientdet/loss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def forward(self, classifications, regressions, anchors, annotations, **kwargs):
5454
classification = torch.clamp(classification, 1e-4, 1.0 - 1e-4)
5555

5656
if bbox_annotation.shape[0] == 0:
57-
if torch.cuda.is_available()
57+
if torch.cuda.is_available():
5858

5959
alpha_factor = torch.ones_like(classification) * alpha
6060
alpha_factor = alpha_factor.cuda()

0 commit comments

Comments
 (0)