walkerning / compression-tool

A small compression tool for caffe model...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello !! how to use convtool ?IN Chinese。。。。。。

yanghedada opened this issue · comments

作者你好,不好意思英文太烂,只能用中文了,关于convtool的使用。

  pipeline:
    - conv

  config:
    conv:
      command: 'conv_tool'
      input_proto: '/home/yanghe/Desktop/model/origin/Model.prototxt'
      input_caffemodel: '/home/yanghe/Desktop/model/origin/Model.caffemodel'
      output_proto: '/home/yanghe/Desktop/model/compress/Model.prototxt'
      output_caffemodel: '/home/yanghe/Desktop/model/compress/Model.caffemodel'
      mode:
        compression_specification:
          conv1_2_2: 10

直接从中间开始减发现没有bottom,

image

如果

compression_specification:
          conv1_2_2: 10
          conv1_2_1: 10

就会:
image

image