Skip to content

Commit

Permalink
main code
Browse files Browse the repository at this point in the history
update trace
  • Loading branch information
WongKinYiu authored Jul 20, 2022
1 parent 8b72ac7 commit 1e1e0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def forward_once(self, x, profile=False):
self.traced=False

if self.traced:
if isinstance(m, Detect) or isinstance(m, IDetect) or isinstance(m, IAuxDetect):
if isinstance(m, Detect) or isinstance(m, IDetect) or isinstance(m, IAuxDetect) or isinstance(m, IKeypoint):
break

if profile:
Expand Down

0 comments on commit 1e1e0d5

Please sign in to comment.