tf.browser.toPixels: plotting images from tensors
- Jorge Guerra Pires
- Jul 16, 2023
- 1 min read

It is quite useful to be able to go from a Tensor to Image in TensorFlow.js. I like to check things before training, as our logic becomes complex, chances are high of making small mistakes, that can create big problems! Moreover, when looking for bugs, it is useful to check everything: bugs may appear on places you least expect!
Click on 'preview'; make changes to the JavaScript file!
Comments