Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yolov5 V6 The exported TFJS model is not available because img SIez cannot be set to 300 #10346

Closed
gamefake588 opened this issue Nov 2, 2021 · 9 comments
Assignees
Labels
stat:awaiting response Waiting on input from the contributor type:support

Comments

@gamefake588
Copy link

// Yolov5 python export.py --weights runs/train/exp9/weights/best.pt --include tfjs --img 300
WARNING: --img-size 300 must be multiple of max stride 32, updating to 320

// coco-ssd js
Error: The shape of dict['x'] provided in model.execute(dict) must be [1,320,320,3], but was [1,300,300,3]

@kumariko kumariko self-assigned this Nov 2, 2021
@kumariko kumariko added the models:official models that come under official repository label Nov 2, 2021
@kumariko
Copy link

kumariko commented Nov 2, 2021

@gamefake588 Could you please have a look on the link1, link2 and let us know if it helps? Thanks!

@kumariko kumariko added the stat:awaiting response Waiting on input from the contributor label Nov 2, 2021
@gamefake588
Copy link
Author

@kumariko This does not help, as it is possible to convert directly to TFJS in yolov5 v6.0,[1,300,300,3] cannot be converted when using cocossd

@kumariko kumariko removed the stat:awaiting response Waiting on input from the contributor label Nov 3, 2021
@WeiFree
Copy link

WeiFree commented Apr 14, 2022

@kumariko This does not help, as it is possible to convert directly to TFJS in yolov5 v6.0,[1,300,300,3] cannot be converted when using cocossd

how did you solved it

@laxmareddyp
Copy link
Collaborator

Hi @luotigerlsx @fyangf,

Can you look at this issue in your free time.

Thanks.

@laxmareddyp
Copy link
Collaborator

Hi @gamefake588 ,

Is this issue still reproducible?

Thanks.

@laxmareddyp laxmareddyp added the stat:awaiting response Waiting on input from the contributor label Apr 11, 2023
@fyangf fyangf removed the models:official models that come under official repository label Apr 11, 2023
@fyangf
Copy link
Contributor

fyangf commented Apr 11, 2023

We don't support YoloV5 in official models.

@fyangf fyangf closed this as completed Apr 11, 2023
@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@gamefake588
Copy link
Author

@kumariko This does not help, as it is possible to convert directly to TFJS in yolov5 v6.0,[1,300,300,3] cannot be converted when using cocossd

how did you solved it

Sorry, it's been too long, I can't remember clearly, I may have used other libraries for conversion at the time

@gamefake588
Copy link
Author

Hi @gamefake588 ,

Is this issue still reproducible?

Thanks.

Sorry, it's been too long, I can't remember clearly, I may have used other libraries for conversion at the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Waiting on input from the contributor type:support
Projects
None yet
Development

No branches or pull requests

9 participants