Skip to content

Exporting to Tensorflow #7663

@scott-lam

Description

@scott-lam

Search before asking

  • I have searched the YOLOv5 issues and found no similar bug report.

YOLOv5 Component

No response

Bug

Trying to export my best.pt weights file to a tensorflow saved_model. When this is done, there is no keras_metadata.pb file, meaning I am unable to make predictions via the model
Luckily though, I have an older version of the YOLOv5 Repo cloned on my machine. When using this to export the model, it creates a keras_metadata.pb file for the saved_model. Why is this not being created when the most up-to-date repo?

Environment

Google Colab

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleStale and schedule for closing soonbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions