Skip to content

issue with model last layer  #185

@speeding-motor

Description

@speeding-motor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions