You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
This repository was archived by the owner on Dec 8, 2020. It is now read-only.
Error: UnhandledPromiseRejectionWarning: Error: Error when checking : expected dense_Dense1_input to have 2 dimension(s), but got array with shape [1,224,224,3] #2
Whenever i try to run this project i get an error, im using a Pose net model, not sure what i'm doing wrong any ideas?
(node:71251) UnhandledPromiseRejectionWarning: Error: Error when checking : expected dense_Dense1_input to have 2 dimension(s), but got array with shape [1,224,224,3] at new ValueError (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-layers/dist/errors.js:68:28) at checkInputData (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-layers/dist/engine/training.js:338:23) at LayersModel.predict (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-layers/dist/engine/training.js:981:9) at Sequential.predict (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-layers/dist/models.js:722:27) at /Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@teachablemachine/image/dist/custom-mobilenet.js:289:48 at /Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-core/dist/engine.js:388:22 at Engine.scopedRun (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-core/dist/engine.js:398:23) at Engine.tidy (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-core/dist/engine.js:387:21) at Object.tidy (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@tensorflow/tfjs-core/dist/globals.js:176:28) at CustomMobileNet.<anonymous> (/Users/andredutradeoliveira/Learning/teachablemachine-node-example/node_modules/@teachablemachine/image/dist/custom-mobilenet.js:287:37) (node:71251) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:71251) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.