Delete clip_model to avoid errors on export (#18445)
Signed-off-by: Mohammed Yasin <32206511+Y-T-G@users.noreply.github.com> Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
4c571311f7
commit
0e465175fd
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ class Exporter:
|
|||
"(torchscript, onnx, openvino, engine, coreml) formats. "
|
||||
"See https://docs.ultralytics.com/models/yolo-world for details."
|
||||
)
|
||||
model.clip_model = None # openvino int8 export error: https://github.com/ultralytics/ultralytics/pull/18445
|
||||
if self.args.int8 and not self.args.data:
|
||||
self.args.data = DEFAULT_CFG.data or TASK2DATA[getattr(model, "task", "detect")] # assign default data
|
||||
LOGGER.warning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue