Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

训练报错 #3

Closed
bushidonggua opened this issue Sep 12, 2017 · 1 comment
Closed

训练报错 #3

bushidonggua opened this issue Sep 12, 2017 · 1 comment

Comments

@bushidonggua
Copy link

错误如下:
net = mobile_net(image)
File "mobilenet_pruning.py", line 70, in mobile_net
stride=1)
File "mobilenet_pruning.py", line 43, in depthwise_separable
pa0 = ParamAttr(update_hooks = Hook('dynamic_pruning', sparsity_upper_bound=0.75))
TypeError: init() got an unexpected keyword argument 'sparsity_upper_bound'

@NHZlX
Copy link
Contributor

NHZlX commented Sep 12, 2017

dynamic pruning 一直没有merge 到主线中去, 所以可以参照https://github.com/PaddlePaddle/Mobile/tree/master/flowers102/mobilenet_pruning

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants