Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Unclear cause of "Requested texture size [19991x2] greater than WebGL maximum..." #59

Open
ToonTalk opened this issue Jul 25, 2018 · 0 comments

Comments

@ToonTalk
Copy link

Using the same scripts for 13 languages only Japanese yields an "Requested texture size [19991x2] greater than WebGL maximum" error. Note that Chinese works fine. And reducing the Japanese data from 20,000 entries to 16,000 entries works fine. Clearly some datasets are too large for tfjs-tsne but in this case all languages were 20000x300 so why only Japanese causing this error?

https://ecraft2learn.github.io/ai/word-embeddings/tsne-ja16000.html (works fine)

https://ecraft2learn.github.io/ai/word-embeddings/tsne-ja20000.html (produces the following error)

Uncaught (in promise) Error: Requested texture size [19991x2] greater than WebGL maximum on this browser / GPU [16384x16384].
at validateTextureSize (tfjs:2)
at createAndConfigureTexture (tfjs:2)
at createFloat32MatrixTexture (tfjs:2)
at e.createFloat32MatrixTexture (tfjs:2)
at e.acquireTexture (tfjs:2)
at e.acquireTexture (tfjs:2)
at e.uploadToGPU (tfjs:2)
at e.compileAndRun (tfjs:2)
at e.slice (tfjs:2)
at ENV.engine.runKernel.$x (tfjs:2)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant