-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
System information
- OS: Linux Ubuntu 22.04
- TensorFlow.js npm: 4.9.0
- Environment: Node v18.16.0, ts-node-esm v10.9.1
Describe the current behavior
The error message seems to state that the summary of the model is incorrectly printed. This error message does not appear within the code pen link provided, however, it does not finish the training on code pen either.
Describe the expected behavior
Not the error message below
Standalone code to reproduce the issue
https://codepen.io/Luke-Pring-LukeMovement/pen/MWzzRGO?editors=1012
Other info / logs
/home/luke/Personal/ts-ai/tfjs-core/src/util_base.ts:153
throw new Error(typeof msg === 'string' ? msg : msg());
^
Error: Error in concat3D: Shape of tensors[1] (1,1,128) does not match the shape of the rest (1,50,1) along the non-concatenated axis 1.
at util.assert (/home/luke/Personal/ts-ai/tfjs-core/src/util_base.ts:153:11)
at /home/luke/Personal/ts-ai/tfjs-core/src/ops/concat_util.ts:37:7
at Array.forEach ()
at Object.assertParamsConsistent (/home/luke/Personal/ts-ai/tfjs-core/src/ops/concat_util.ts:35:10)
at Object.concat [as kernelFunc] (/home/luke/Personal/ts-ai/tfjs-backend-cpu/src/kernels/Concat.ts:38:16)
at kernelFunc (/home/luke/Personal/ts-ai/tfjs-core/src/engine.ts:647:22)
at /home/luke/Personal/ts-ai/tfjs-core/src/engine.ts:713:23
at Engine.scopedRun (/home/luke/Personal/ts-ai/tfjs-core/src/engine.ts:480:19)
at Engine.runKernelFunc (/home/luke/Personal/ts-ai/tfjs-core/src/engine.ts:709:10)
at Engine.runKernel (/home/luke/Personal/ts-ai/tfjs-core/src/engine.ts:554:17)