Manas Mohanty
Manas Mohanty
Hi @derrkater ! Could you put select ops syntax in TFLite conversion and let us know whether it resolves. ``` import tensorflow as tf converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir) converter.target_spec.supported_ops = [...
@derrkater ! Could you confirm that you have added [select ops dependency ](https://www.tensorflow.org/lite/guide/ops_select#:~:text=dependencies%20%7B%0A%C2%A0%20%C2%A0%20implementation%20%27org.tensorflow%3Atensorflow%2Dlite%3A0.0.0%2Dnightly%2DSNAPSHOT%27%0A%C2%A0%20%C2%A0%20//%20This%20dependency%20adds%20the%20necessary%20TF%20op%20support.%0A%C2%A0%20%C2%A0%20implementation%20%27org.tensorflow%3Atensorflow%2Dlite%2Dselect%2Dtf%2Dops%3A0.0.0%2Dnightly%2DSNAPSHOT%27%0A%7D)in build.gradle file too. Please enable the permissions for above model file(Google drive link) as it is not...
Ok @derrkater ! For IOS/Xcode projects , You need to [force load](https://www.tensorflow.org/lite/guide/ops_select#ios) the select ops file after declaring the dependencies in pod file. Thank you!
Hi @derrkater ! Could you share a minimal model file too. I am getting Dimension mismatch issue though with above TFlite model. Attached [gist ](https://colab.sandbox.google.com/gist/mohantym/e24c9105ba4a60c3866841df85b1e769/git_56804.ipynb#scrollTo=7CtFKa-Yu_FF)for reference. Thank you!
Hi @sachinprasadhs ! Could you look at this issue. Attached gist in [2.8](https://colab.sandbox.google.com/gist/mohantym/812fcd4fb37521d3e52e5f2980a57bb2/git_56804.ipynb#scrollTo=J6gFf5IQkiQN) for reference. Thank you!
@DavidSon1, @jvishnuvardhan !I tried to replicate to this in Colab environment , Issue was not replicating in Colab environment though.providing GIST in TF [2.5](https://colab.research.google.com/gist/mohantym/42d260caa8fd1fe87e22766e3a7e19dc/github_52177.ipynb#scrollTo=Op0tEFmS5kPE) ,[2.6](https://colab.research.google.com/gist/mohantym/42d260caa8fd1fe87e22766e3a7e19dc/github_52177.ipynb#scrollTo=Op0tEFmS5kPE) and [2.7](https://colab.research.google.com/gist/mohantym/12bd14a3dfca92b26cd4b18786187cf3/github_52177_2-6.ipynb#scrollTo=gpUjmclw6n-2) for reference .
Hi@ yahuuu ! Could you please try on latest stable version of TF 2.6 and let us know if this is still an issue.Thanks!
Hi @yahuuu ! Did you check with above suggestion yet?
Hi @jvishnuvardhan ! Could you please look at this feature request!
Hi @TylerADavis ! Thanks for pointing me towards the correct source. created PR #1014 to fix this. Thank you!