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

js error #6

Open
Starkguava opened this issue Dec 22, 2020 · 3 comments
Open

js error #6

Starkguava opened this issue Dec 22, 2020 · 3 comments

Comments

@Starkguava
Copy link

tfjs:formatted:7997 Uncaught (in promise) Error: Batch normalization gradient requires mean and offset to have equal ranks.
at lv (tfjs:formatted:7997)
at batchNorm_ (tfjs:formatted:13935)
at Object.batchNorm__op [as batchNorm] (tfjs:formatted:10410)
at batchnorm (pix2pix.js:34)
at pix2pix.js:64
at tfjs:formatted:9567
at e.t.scopedRun (tfjs:formatted:9576)
at e.t.tidy (tfjs:formatted:9560)
at Object.dx [as tidy] (tfjs:formatted:13197)
at Pix2pix.transfer (pix2pix.js:47)

i use my model which is 54.4MB. how can i run it in server?

@Heath123
Copy link

image

@Heath123
Copy link

I get this too on the demo @yining1023

@yining1023
Copy link
Owner

@Starkguava @Heath123 thank you so much for reporting this issue!

The issue should be fixed now, you can check out the demo here: https://yining1023.github.io/pix2pix_tensorflowjs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants