You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
hello,when i run the file SSD_training.ipynb, it give this erro:
TypeError Traceback (most recent call last)
in ()
----> 1 model = SSD300(input_shape, num_classes=NUM_CLASSES)
2 model.load_weights('weights_SSD300.hdf5', by_name=True)
/home/maxl/ssd_keras-master/ssd.py in SSD300(input_shape, num_classes)
135 net['pool6'] = GlobalAveragePooling2D(name='pool6')(net['conv8_2'])
136 # Prediction from conv4_3
--> 137 net['conv4_3_norm'] = Normalize(20, name='conv4_3_norm')(net['conv4_3'])
138 num_priors = 3
139 x = Convolution2D(num_priors * 4, 3, 3, border_mode='same',
/home/maxl/anaconda3/lib/python3.5/site-packages/keras/engine/topology.py in call(self, inputs, **kwargs)
617
618 # Actually call the layer, collecting output(s), mask(s), and shape(s).
--> 619 output = self.call(inputs, **kwargs)
620 output_mask = self.compute_mask(inputs, previous_mask)
621
/home/maxl/ssd_keras-master/ssd_layers.py in call(self, x, mask)
45
46 def call(self, x, mask=None):
---> 47 output = K.l2_normalize(x, self.axis)
48 output *= self.gamma
49 return output
/home/maxl/anaconda3/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py in l2_normalize(x, axis)
3149 A tensor.
3150 """
-> 3151 return tf.nn.l2_normalize(x,axis=axis)
3152
3153
TypeError: l2_normalize() got an unexpected keyword argument 'axis'
The text was updated successfully, but these errors were encountered: