saikumarchalla
saikumarchalla
@DanieleFundaro Please check the comment [here](https://github.com/tensorflow/models/issues/8692#issuecomment-713103228) and hope it answers your question. Thanks! Duplicate #9582
Was able to reproduce the issue using TF Nightly 2.6 version.Please find the gist [here](https://colab.research.google.com/gist/saikumarchalla/bc5f710e75b6d271cd09396ea147b24d/untitled96.ipynb).Thanks!
@Siddhijain16 It seems you are iterating the testing data which is a scalar value. Please have a look at this [issue](https://stackoverflow.com/questions/32978575/how-to-fix-indexerror-invalid-index-to-scalar-variable) for more information. Hope it helps you. Thanks!
Still an issue in TF 2.5 and TF-Nightly(2.6). Please find the gist [here](https://colab.research.google.com/gist/saikumarchalla/a6d5d9f229848715dcb417ae8cd443ae/untitled478.ipynb#scrollTo=XbCGn9Rs2J_l).Thanks!
Was able to reproduce the issue using TF 2.11.0. Please find the gist [here](https://colab.research.google.com/gist/pjpratik/b33c15f834c1e580863d45d65718bdba/41009.ipynb). Thanks!
Was able to reproduce the issue using TF Nightly(2.6).Please find the gist [here](https://colab.research.google.com/gist/saikumarchalla/20de0ac979407371e4365456fe8ff1a1/untitled474.ipynb).Thanks!
I was able to reproduce the issue in TF 2.12. Please find the gist [here](https://colab.sandbox.google.com/gist/synandi/55e8df4753342c915cb84a1f6e3fc761/39323.ipynb).Thank you!
@shkarupa-alex Seems the code is working as expected with the changes mentioned above by @AdityaKane2001. Please let us know if it is stil an issue?.Thanks!
@jackd I tried to reproduce the issue on colab with TF 2.1 but getting different error. Please find the [gist](https://colab.sandbox.google.com/gist/saikumarchalla/9264519582cef95421c7d15fcf6abdaa/-36809.ipynb) here.Also,tried on tf-nightly and getting same output. Please provide more...
Was able to reproduce the issue with TF 2.1 on colab. Please find the [gist](https://colab.sandbox.google.com/gist/saikumarchalla/a8f77b27844ee3644c29687a3afeee7f/-36809.ipynb) here.Thanks!