mvoelk/ssd_detectors

No such layer: conv4_3_1

kamae opened this issue · 3 comments

kamae commented

ssd300_coco_weights_fixed, ssd300_voc_weights_fixed, ssd512_coco_weights_fixed ssd512_voc_weights_fixed.hdf5 have two layers labeled as conv4_3_1:b, W but not conv4_3_1.
This triggers error. Does some one know how to fix the issue?

The errors result from creating two models in the same namespace. The following should work...

K.clear_session()
model = SSD512(input_shape, num_classes=num_classes)
model.load_weights('./models/ssd512_voc_weights_fixed.hdf5', by_name=True)

K.clear_session()
model = SSD512(input_shape, num_classes=num_classes)
model.load_weights('./models/ssd512_voc_weights_fixed.hdf5', by_name=True)

kamae commented

@kamae How can i access the attachment? You can also add images in the issue comments via drag and drop.