ultralytics 8.2.85 YOLOv10 max_det arg fix (#15917)
Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
0546c08102
commit
ea13dc6208
4 changed files with 5 additions and 4 deletions
|
|
@ -249,6 +249,7 @@ class Exporter:
|
|||
m.dynamic = self.args.dynamic
|
||||
m.export = True
|
||||
m.format = self.args.format
|
||||
m.max_det = self.args.max_det
|
||||
elif isinstance(m, C2f) and not is_tf_format:
|
||||
# EdgeTPU does not support FlexSplitV while split provides cleaner ONNX graph
|
||||
m.forward = m.forward_split
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue