未验证 提交 172c0913 编写于 作者: J Jason 提交者: GitHub

Merge pull request #330 from FlyingQianMM/paddlex-gui-v1.1.0_qh

add params name which cannnot been pruned of deeplabv3p_mobilenetv3_large
......@@ -308,7 +308,9 @@ def get_prune_params(model):
'conv9_depthwise_weights', 'conv6_expand_weights',
'conv5_se_2_weights', 'conv14_expand_weights',
'conv4_depthwise_weights', 'conv7_expand_weights',
'conv7_depthwise_weights'
'conv7_depthwise_weights', 'encoder/aspp0/weights',
'decoder/merge/weights', 'encoder/image_pool/weights',
'decoder/weights'
]
for param in program.global_block().all_parameters():
if 'weight' not in param.name:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册