Closed
Description
I'm not able to produce a tsne.csv file with the script. The terminal error messages are below. (I wouldn't be surprised if it's a problem with my local setup. 🤔)
Thanks in advance for any suggestions.
cw11-C02T250DGVC1:tsne cw11$ node tsne.js -i /Users/localmacaccount/Desktop/data/1024
starting with [ '/Users/localmacaccount/.nvm/versions/node/v11.11.0/bin/node',
'/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/tsne.js',
'-i',
'/Users/localmacaccount/Desktop/data/1024' ]
============================
Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, which binds to TensorFlow C++, by running npm i @tensorflow/tfjs-node, or npm i @tensorflow/tfjs-node-gpu if you have CUDA. Then call require('@tensorflow/tfjs-node'); (-gpu suffix for CUDA) at the start of your program. Visit https://github.com/tensorflow/tfjs-node for more details.
============================
(node:39309) UnhandledPromiseRejectionWarning: Error: browserHTTPRequest is not supported outside the web browser without a fetch polyfill.
at new BrowserHTTPRequest (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-core/dist/io/browser_http.js:48:23)
at Object.browserHTTPRequest (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-core/dist/io/browser_http.js:278:12)
at Object.<anonymous> (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/models.js:104:50)
at step (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/models.js:42:23)
at Object.next (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/models.js:23:53)
at /Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/models.js:17:71
at new Promise (<anonymous>)
at __awaiter (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/models.js:13:12)
at Object.loadModelInternal (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/models.js:98:12)
at Object.loadModel (/Users/localmacaccount/Downloads/vikus-viewer-script-master/tsne/node_modules/@tensorflow/tfjs-layers/dist/exports.js:17:21)
(node:39309) 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(). (rejection id: 2)
(node:39309) [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.
cw11-C02T250DGVC1:tsne
Metadata
Metadata
Assignees
Labels
No labels