pix2pix_tensorflowjs icon indicating copy to clipboard operation
pix2pix_tensorflowjs copied to clipboard

js error

Open Starkguava opened this issue 4 years ago • 3 comments

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?

Starkguava avatar Dec 22 '20 09:12 Starkguava

image

Heath123 avatar Jan 11 '21 14:01 Heath123

I get this too on the demo @yining1023

Heath123 avatar Jan 11 '21 14:01 Heath123

@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/

yining1023 avatar Jan 19 '21 03:01 yining1023