keras_frcnn
keras_frcnn copied to clipboard
Keras 2.1.x incompatibilty
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)
...
Hi, I am currently unable to track this project, if you find any solutions, give me a pr directly! thanks for contribute!
@aldder i get the same error ;
if keras not to version 2.1.x , do it work ?
It's working for keras==2.0.9
@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🙂