Closed jessicametzger closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
First of all thank you @pierluigiferrari for the great tutorials. I am attempting to train a model using this ssd_keras, using the tf.keras version of keras (the machine I'm using doesn't have keras installed). So far I have succeeded in subsampling for one class (following the weight sampling tutorial), creating training and validation data generator objects, and building a ssd300 model (following the ssd300_training tutorial). The fitting routine worked when using keras (not tf.keras) on a different machine. However, when I attempt to run the model fitting with tf.keras (after making a few changes, see below), I get the following error message:
I have:
There were a few other warnings and the full error message can be found here: full_error_message.txt.
Code
Here is the code I am running. This is after subsampling the weights, importing all packages, etc. as done in the tutorials.
Changes made to ssd_keras package
Before getting this error, I had made the following minor changes:
to
x._keras_shape
tox.shape
if K.common.image_dim_ordering() == 'tf'
clause since tf.keras.backend has no property "common" (I assume image_dim_ordering is tf)