tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.37k stars 1.92k forks source link

Error: The implicit shape can't be a fractional number. #8346

Open songyanbei opened 1 month ago

songyanbei commented 1 month ago

System information

I'm encountering an error while feed a full zero tensor into model, the INPUT_IMAGE_SIZE==640

image image

gaikwadrahul8 commented 1 month ago

Hi, @songyanbei

Thank you for bringing this issue to our attention and if possible could you please help us with your Github repo/Codepen example or minimal code snippet with complete steps to replicate the same behavior from our end to investigate this issue further ?

Thank you for your cooperation and patience.

songyanbei commented 1 month ago

test.html.zip Hi,@gaikwadrahul8 This is a test page. Extract it to your local machine and open it in a browser. Wait a few minutes for the model to finish downloading. You can see error messages in the console interface of the browser's developer mode. 截屏2024-08-02 下午4 55 00

gaikwadrahul8 commented 1 month ago

Hi, @songyanbei

Thank you for providing the code snippet to reproduce the same behavior from our end and I'm able to replicate the same issue from my end so we'll have to dig more into this issue, thank you for bringing this issue to our attention, I really appreciate your valuable time and efforts.

For reference I have added screenshot below :

image

Thank you for your cooperation and patience.

github-actions[bot] commented 1 month ago

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 1 month ago

This issue was closed due to lack of activity after being marked stale for past 7 days.

google-ml-butler[bot] commented 1 month ago

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