tfjs-tsne icon indicating copy to clipboard operation
tfjs-tsne copied to clipboard

Support for tfjs-node

Open cpietsch opened this issue 5 years ago • 4 comments

Are there any plans to make tfjs-tsne to work with tfjs-node in order to use it in an non browser environment ?

cpietsch avatar Feb 07 '19 03:02 cpietsch

If anybody is interested in this topic: There will be a v1.0 release of tfjs and tfjs-node soonish and that might fix the issue of https://github.com/tensorflow/tfjs/issues/1092 in order to get tfjs-tsne up and running. @tafsiri

cpietsch avatar Feb 14 '19 01:02 cpietsch

AFAIK there are no plans to make tfjs-tsne work in node. Implementation wise it is pretty tied to how it uses webgl textures to actually implement the optimization. The paper goes into more details. It would probably require a robust headless webgl in node for this library to work but that isn't something we are investigating.

I don't think https://github.com/tensorflow/tfjs/issues/1092 is related to making this work in node.

tafsiri avatar Feb 14 '19 14:02 tafsiri

Thx for the feedback. I will still keep trying ;) tensorflow/tfjs#1092 was just the first error I ran into, when I tried to include tfjs-node into tfjs-tsne

cpietsch avatar Feb 17 '19 21:02 cpietsch

I had the same issue. Too bad a node version is a bridge too far...

owendall avatar Jun 30 '19 19:06 owendall