Torch-Pruning icon indicating copy to clipboard operation
Torch-Pruning copied to clipboard

module2node bug

Open QiqLiang opened this issue 7 months ago • 2 comments

hi, i came up with this error when finetuning the yolov6 model: ... in _trace_computational_graph module2node[param].pruning_dim = dim KeyError: Parameter containing: tensor([0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13., 14., 15., 16.])

why does it happen and how can i solve it? thanks a lot for answering and it would be better if you can write a yolov6_pruning.py!

QiqLiang avatar Dec 14 '23 07:12 QiqLiang

i meet the same error have you solved it already?

ganliqiang avatar Dec 27 '23 09:12 ganliqiang

@QiqLiang @ganliqiang , Does solved it? If solved, How to solve?

xiaowenhe avatar Mar 06 '24 09:03 xiaowenhe