摘要: Abstract 过滤器(filter)剪枝是卷积神经网络加速和压缩的最有效方法之一。在这项工作中,我们提出了一种叫做Gate Decorator的全局过滤器剪枝算法,它通过将一个普通的CNN模块的输出乘以通道缩放因子(即gate,代码中为g)来对其进行转换。当比例因子设置为0时,相当于删除相应的过 阅读全文
posted @ 2020-01-10 18:36 慢行厚积 阅读(1542) 评论(0) 推荐(0) 编辑
摘要: VGG16 run/vgg16/vgg16_prune_demo.py运行: python ./run/vgg16/vgg16_prune_demo.py --config ./run/vgg16/prune.json 报错: Traceback (most recent call last): F 阅读全文
posted @ 2020-01-10 18:29 慢行厚积 阅读(868) 评论(0) 推荐(1) 编辑
摘要: https://github.com/youzhonghui/gate-decorator-pruning 1.utils.py class dotdict(dict): """dot.notation access to dictionary attributes""" __getattr__ = 阅读全文
posted @ 2020-01-10 18:27 慢行厚积 阅读(759) 评论(0) 推荐(0) 编辑