Skip to content

Commit

Permalink
Merge branch 'yolov6-seg' of github.com:meituan/YOLOv6 into yolov6-seg
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilicyy committed Sep 15, 2023
2 parents c92a7ed + 8b4f6b0 commit 463d8e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yolov6/models/heads/effidehead_fuseab_seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def forward(self, x):

cls_output_af = torch.sigmoid(cls_output_af)
# seg_output_af = torch.sigmoid(seg_output_af)
proto_no = (torch.ones(b, 1, l) * i).cuda()
proto_no = (torch.ones(b, 1, l) * i).to(device)


if self.export:
Expand Down
2 changes: 1 addition & 1 deletion yolov6/models/heads/effidehead_fuseab_seg_solo.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def forward(self, x):
reg_output_af = self.proj_conv(F.softmax(reg_output_af, dim=1))

cls_output_af = torch.sigmoid(cls_output_af)
proto_no = (torch.ones(b, 1, l) * i).cuda()
proto_no = (torch.ones(b, 1, l) * i).to(device)


if self.export:
Expand Down

0 comments on commit 463d8e7

Please sign in to comment.