updates
This commit is contained in:
+1
-1
@@ -338,7 +338,7 @@ def build_targets(model, targets):
|
||||
nt = len(targets)
|
||||
txy, twh, tcls, tbox, indices, anchor_vec = [], [], [], [], [], []
|
||||
for i in model.yolo_layers:
|
||||
layer = model.module_list[i][0]
|
||||
layer = model.module_list[i]
|
||||
|
||||
# iou of targets-anchors
|
||||
t, a = targets, []
|
||||
|
||||
Reference in New Issue
Block a user