paint-brush
How Tensorflow’s tf.image.resize stole 60 days of my lifeby@oleksandrsavsunenko
39,257 reads
39,257 reads

How Tensorflow’s tf.image.resize stole 60 days of my life

by Oleksandr Savsunenko2mJanuary 23rd, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I was rewriting codebase of our <a href="https://letsenhance.io" target="_blank">neural network image upscaling service</a> — Let’s Enhance to make it ready for bigger and faster models and API we are working on. As we work with image generation (superresolution, deblurring, etc) we do rely on a typical image processing libraries like OpenCV and PIL. I always had suspicions that it makes sense to use Tensorflow image processing capabilities — in theory, they should be faster. So, I decided to stick to native Tensorflow image preprosessing and dataset building tools using dataset.map() to keep all operations in tensors all around my code.

Company Mentioned

Mention Thumbnail
featured image - How Tensorflow’s tf.image.resize stole 60 days of my life
Oleksandr Savsunenko HackerNoon profile picture
Oleksandr Savsunenko

Oleksandr Savsunenko

@oleksandrsavsunenko

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite