examples
examples copied to clipboard
Update super_resolution.ipynb to resize the input tensor
The input tensor to the interpreter needs to be resized to take 1x50x50x3 image else it is throwing the dimension mismatch error.
Thanks.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@windmaple Can you take a look?
@pjpratik The test image is actually 50x50. Why do you need to resize it again? Unless you are using a diff test img?
Hi @windmaple
The example when run on colab with latest stable version TF 2.13 runs into an error. Please find this gist.
The converted tflite model has input shape of [1,1,1,3], and the setting the input shape via concrete function is not considered.
Thanks.