Skip to content

Instantly share code, notes, and snippets.

@gautamchitnis
Created April 6, 2020 23:56
Show Gist options
  • Save gautamchitnis/b39955a37844531e65b3ddbcd4d8bc0d to your computer and use it in GitHub Desktop.
Save gautamchitnis/b39955a37844531e65b3ddbcd4d8bc0d to your computer and use it in GitHub Desktop.
"C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" run start --scripts-prepend-node-path=auto
> node-tfjs@1.0.0 start C:\Users\Gautam\WebstormProjects\node-tfjs
> node app.js
2020-04-07 05:24:26.641209: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-04-07 05:24:28.569454: I tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: F:\dd\office_work\mrcnn_serving_ready-master\mrcnn_serving_ready-master\tooth_type\serving_model\2
2020-04-07 05:24:28.698509: I tensorflow/cc/saved_model/reader.cc:54] Reading meta graph with tags { serve }
2020-04-07 05:24:29.021046: I tensorflow/cc/saved_model/loader.cc:202] Restoring SavedModel bundle.
2020-04-07 05:24:29.024479: I tensorflow/cc/saved_model/loader.cc:212] The specified SavedModel has no variables; no checkpoints were restored. File does not exist: F:\dd\office_work\mrcnn_serving_ready-ma
ster\mrcnn_serving_ready-master\tooth_type\serving_model\2/variables/variables.index
2020-04-07 05:24:29.034467: I tensorflow/cc/saved_model/loader.cc:311] SavedModel load for tags { serve }; Status: success. Took 464629 microseconds.
Server running at http://127.0.0.1:3000/
on load image
(node:22768) UnhandledPromiseRejectionWarning: Error: Length of input op names (3) does not match the length of input tensors (1).
at NodeJSKernelBackend.runSavedModel (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\@tensorflow\tfjs-node\dist\nodejs_kernel_backend.js:1556:43)
at TFSavedModel.predict (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\@tensorflow\tfjs-node\dist\saved_model.js:324:43)
at img.onload (C:\Users\Gautam\WebstormProjects\node-tfjs\tf_model.js:27:36)
at setSource (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\canvas\lib\image.js:91:13)
at Image.set (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\canvas\lib\image.js:62:9)
at Object.getPredictions (C:\Users\Gautam\WebstormProjects\node-tfjs\tf_model.js:32:13)
at Server.<anonymous> (C:\Users\Gautam\WebstormProjects\node-tfjs\app.js:14:24)
at Server.emit (events.js:311:20)
at parserOnIncoming (_http_server.js:784:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
(node:22768) 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 n
ot 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: 1)
(node:22768) [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.
on load image
(node:22768) UnhandledPromiseRejectionWarning: Error: Length of input op names (3) does not match the length of input tensors (1).
at NodeJSKernelBackend.runSavedModel (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\@tensorflow\tfjs-node\dist\nodejs_kernel_backend.js:1556:43)
at TFSavedModel.predict (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\@tensorflow\tfjs-node\dist\saved_model.js:324:43)
at img.onload (C:\Users\Gautam\WebstormProjects\node-tfjs\tf_model.js:27:36)
at setSource (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\canvas\lib\image.js:91:13)
at Image.set (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\canvas\lib\image.js:62:9)
at Object.getPredictions (C:\Users\Gautam\WebstormProjects\node-tfjs\tf_model.js:32:13)
at Server.<anonymous> (C:\Users\Gautam\WebstormProjects\node-tfjs\app.js:14:24)
at Server.emit (events.js:311:20)
at parserOnIncoming (_http_server.js:784:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
(node:22768) 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 n
ot 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)
on load image
(node:22768) UnhandledPromiseRejectionWarning: Error: Length of input op names (3) does not match the length of input tensors (1).
at NodeJSKernelBackend.runSavedModel (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\@tensorflow\tfjs-node\dist\nodejs_kernel_backend.js:1556:43)
at TFSavedModel.predict (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\@tensorflow\tfjs-node\dist\saved_model.js:324:43)
at img.onload (C:\Users\Gautam\WebstormProjects\node-tfjs\tf_model.js:27:36)
at setSource (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\canvas\lib\image.js:91:13)
at Image.set (C:\Users\Gautam\WebstormProjects\node-tfjs\node_modules\canvas\lib\image.js:62:9)
at Object.getPredictions (C:\Users\Gautam\WebstormProjects\node-tfjs\tf_model.js:32:13)
at Server.<anonymous> (C:\Users\Gautam\WebstormProjects\node-tfjs\app.js:14:24)
at Server.emit (events.js:311:20)
at parserOnIncoming (_http_server.js:784:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
(node:22768) 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 n
ot 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: 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment