lucasjinreal/keras_frcnn

Keras 2.1.x incompatibilty

Open

#6 opened on Nov 17, 2017

 (4 comments) (0 reactions) (0 assignees)Python (272 forks)batch import
help wanted

Repository metrics

Stars
 (522 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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)
...

Contributor guide