updates
This commit is contained in:
parent
ed1067bfb5
commit
0bc111f0b4
|
@ -141,7 +141,6 @@ class YOLOLayer(nn.Module):
|
||||||
|
|
||||||
# Training
|
# Training
|
||||||
if targets is not None:
|
if targets is not None:
|
||||||
self.batch_count += 1
|
|
||||||
MSELoss = nn.MSELoss()
|
MSELoss = nn.MSELoss()
|
||||||
BCEWithLogitsLoss = nn.BCEWithLogitsLoss()
|
BCEWithLogitsLoss = nn.BCEWithLogitsLoss()
|
||||||
CrossEntropyLoss = nn.CrossEntropyLoss()
|
CrossEntropyLoss = nn.CrossEntropyLoss()
|
||||||
|
|
Loading…
Reference in New Issue