Skip to content

Commit

Permalink
fix end2end export
Browse files Browse the repository at this point in the history
  • Loading branch information
shensheng272 authored Sep 14, 2022
1 parent 9178074 commit 21e0f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolov6/models/end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,6 @@ def forward(self, x):
if self.with_preprocess:
x = x[:,[2,1,0],...]
x = x * (1/255)
x = self.model(x)
x, _ = self.model(x)
x = self.end2end(x)
return x

0 comments on commit 21e0f28

Please sign in to comment.