keras_frcnn icon indicating copy to clipboard operation
keras_frcnn copied to clipboard

Keras 2.1.x incompatibilty

Open aldder opened this issue 8 years ago • 4 comments

Upgrading keras to version 2.1.x it gives this error:

Starting training
Epoch 1/3000
Exception: Error when checking target: expected rpn_out_class to have shape (None, None, None, 9) but got array with shape (1, 56, 38, 18)
Exception: Error when checking target: expected rpn_out_class to have shape (None, None, None, 9) but got array with shape (1, 50, 38, 18)
Exception: Error when checking target: expected rpn_out_class to have shape (None, None, None, 9) but got array with shape (1, 43, 38, 18)
Exception: Error when checking target: expected rpn_out_class to have shape (None, None, None, 9) but got array with shape (1, 38, 38, 18)
...

aldder avatar Nov 17 '17 21:11 aldder

Hi, I am currently unable to track this project, if you find any solutions, give me a pr directly! thanks for contribute!

lucasjinreal avatar Nov 18 '17 06:11 lucasjinreal

@aldder i get the same error ;
if keras not to version 2.1.x , do it work ?

gloddream avatar Nov 22 '17 11:11 gloddream

It's working for keras==2.0.9

aldder avatar Nov 23 '17 10:11 aldder

@aldder @gloddream I was having the same problem with python 3.4.3 and keras 2.1.1 but updating to keras 2.1.2 fixed the issue. Hope this can help🙂

LucasVandroux avatar Jan 09 '18 07:01 LucasVandroux