Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Update ssd.py #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update ssd.py #151

wants to merge 1 commit into from

Conversation

Amit097
Copy link

@Amit097 Amit097 commented Oct 26, 2018

Keras is updated so we should use concatenate instead of merge.

net['mbox_loc'] = merge([net['conv4_3_norm_mbox_loc_flat'],
net['fc7_mbox_loc_flat'],
net['conv6_2_mbox_loc_flat'],
net['conv7_2_mbox_loc_flat'],
net['conv8_2_mbox_loc_flat'],
net['pool6_mbox_loc_flat']],
mode='concat', concat_axis=1, name='mbox_loc')
use this:
net['mbox_loc'] = concatenate([net['conv4_3_norm_mbox_loc_flat'],
net['fc7_mbox_loc_flat'],
net['conv6_2_mbox_loc_flat'],
net['conv7_2_mbox_loc_flat'],
net['conv8_2_mbox_loc_flat'],
net['pool6_mbox_loc_flat']],axis=1)

@kurianbenoy
Copy link

This PR doesn't work. Verified it.

I have asked for a reply to problem here: #149 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants