Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with model last layer #185

Open
speeding-motor opened this issue Jun 8, 2020 · 0 comments
Open

issue with model last layer #185

speeding-motor opened this issue Jun 8, 2020 · 0 comments

Comments

@speeding-motor
Copy link

in keras_darknet19.py

def darknet19(inputs):
    """Generate Darknet-19 model for Imagenet classification."""
    body = darknet_body()(inputs)
    logits = DarknetConv2D(1000, (1, 1), activation='softmax')(body)
    return Model(inputs, logits)

question :
1、here 1000 = anchor_num * (5 + class_num) in other dataset?
2、and why use activation softmax here?

I'm really confused with that, any help is appreciate ,thanks in advance

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

No branches or pull requests

1 participant