TorchPruner icon indicating copy to clipboard operation
TorchPruner copied to clipboard

About the bugs

Open Siyuluan opened this issue 4 years ago • 3 comments

Hi,

Thank you for your great work, I just read your PhD thesis. And when I ran your code, I faced the bug in the code: from torchpruner import (Pruner, ShapleyAttributionMetric), can't import Pruner, can you have a look?

Thank you so much.

Best.

Siyuluan avatar Nov 19 '21 15:11 Siyuluan

hi, have u solved this issue? I got the bug same with u

yutou520131 avatar Sep 09 '22 08:09 yutou520131

Oh, sorry, I didn't solve the bug.... :(

Siyuluan avatar Sep 09 '22 08:09 Siyuluan

change into this: from torchpruner.attributions import ShapleyAttributionMetric from torchpruner.pruner import Pruner

aden9460 avatar Apr 02 '23 12:04 aden9460