Skip to content

Commit

Permalink
Update end2end.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shensheng272 authored Sep 14, 2022
1 parent 16301c0 commit 7420f55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yolov6/models/end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ def forward(self, x):
if self.with_preprocess:
x = x[:,[2,1,0],...]
x = x * (1/255)
x = self.model(x)
if isinstance(x, list):
x = x[0]
else:
Expand Down

0 comments on commit 7420f55

Please sign in to comment.