virajmavani / semi-auto-image-annotation-tool

Anno-Mage: A Semi Automatic Image Annotation Tool which helps you in annotating images by suggesting you annotations for 80 object classes using a pre-trained model

Home Page:https://www.virajmavani.com/saiat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

strided_slice_2 value error

Varat7v2 opened this issue · comments

Hi Virajmavani, I am having the following problem when I am trying to run your main.py script. What would be the reason of this issue? My keras version is 2.3.1 and tensorflow version is 1.14.0.

ValueError: Cannot use 'filtered_detections/map/while/strided_slice_2' as input to 'filtered_detections/map/while/ones/packed' because 'filtered_detections/map/while/strided_slice_2' is in a while loop. See info log for more details.

Hi @Varat7v2!

Here is a link to another issue posted on one of the dependencies' Git repository.
fizyr/keras-retinanet#1118

It seems that using keras==2.2.5 and keras-retinanet==0.5.1 should do the trick here.

Hi @virajmavani, I pulled the recent git and finally it got worked. Thank you very much.

Installing keras==2.2.5 did work for me.