Skip to content

export.py to tfjs problem:No such file or directory: 'yolov5s_web_model/model.json' #5941

@maheluyao429

Description

@maheluyao429

Search before asking

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

YOLOv5 Component

No response

Bug

when I run " python export.py --include tfjs " get an error

**KeyError: 'The name "'Identity" refers to an Operation not in the graph.'

TensorFlow.js: export failure: [Errno 2] No such file or directory: 'yolov5s_web_model/model.json'**

‘yolov5s_web_model’ is an empty folder, there is nothing in it

5X{EMZ4ZZWA)2Z4M$VJ@TPV

Environment

No response

Minimal Reproducible Example

python export.py --include tfjs

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