Skip to content

删除最后分类层的权重 #33

@Muxindawang

Description

@Muxindawang

save_weights_upto(net, filename, net.n);

楼主 您好 我想问一下 我想删除掉分类模型的 后面用于分类的 卷积层的权重 是不是在这一行设置 net.n变为net.n-3就行啊(这个3是 最后的avgpool convolution softmax) 我想把darknet53.weights变成 darknet53.conv.74

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