Linsen

Results 4 comments of Linsen

这个插件ui 感觉比上面的好

show me your code

可能不行,代码中根据‘conv’ 字符串查找卷积层,但是这里vgg用了_make_layers将参数层加入到features序列中 ,导致key中没有‘conv’, 只有‘features’ ··· def grafting(net, epoch): …… for i, (key, u) in enumerate(net.state_dict().items()): if 'conv' in key: w = round(args.a / np.pi * np.arctan(args.c * (entropy(u) - entropy(checkpoint[key])))...