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

Using script tag sample code leads to an exception - works with older version of TFJS

Open ToonTalk opened this issue 5 years ago • 0 comments

Using the sample code at https://github.com/tensorflow/tfjs-tsne#script-tag we get the following exception

tfjs-tsne:1 Uncaught TypeError: n.ENV.findBackend is not a function at F (tfjs-tsne:1) at new t (tfjs-tsne:1) at Object.t.tsne (tfjs-tsne:1) at tsne-test.html:7

However, changing it to load an older TFJS works fine

The following causes the exception

ToonTalk avatar May 21 '19 13:05 ToonTalk