Hacker News new | ask | show | jobs
by do_not_redeem 533 days ago
Can anyone explain that resize_to_320.tflite file? Surely they aren't using an AI model to resize images? Right?
2 comments

tflite files can contain a ResizeOp that resizes the image: https://ai.google.dev/edge/api/tflite/java/org/tensorflow/li...

The file is only 7.7kb, so it couldn't contain many weights anyways.

Exactly. Put another way, tensorflow is not an AI. You can build an AI in tensorflow. You can also resize images in tensorflow (using the traditional algorithms, not AI). I am not an expert, but as I understand, it is common for vision models to require a fixed resolution input, and it is common for that resolution to be quite low due to resource constraints.
Probably not what your alluding to but AI upscaling of images is definitely a thing