PaddlePaddle / PaddleX

All-in-One Development Tool based on PaddlePaddle(飞桨低代码开发工具)
Apache License 2.0
4.87k stars 958 forks source link

剪枝问题 #1109

Open mingo-doer opened 3 years ago

mingo-doer commented 3 years ago

问题类型:模型训练

PaddleX版本
paddlex 2.0.0rc4

问题描述
pdx.slim.prune.analysis( AttributeError: module 'paddlex' has no attribute 'slim'

无法使用剪枝接口,请问要怎么使用剪枝方法呢?

FlyingQianMM commented 3 years ago

可以看下2.0的教程https://github.com/PaddlePaddle/PaddleX/tree/develop/tutorials/slim/prune

AdobeDW commented 3 years ago

@mingo-doer 你好,我也遇到了这个问题,请问你是怎么解决的呢?