-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Encounter type error when running pruning examples #2005
Comments
@Cjkkkk - if @RizhaoCai 's fix works, shall we encourage him/her submit a PR directly =)? |
Thanks for bringing up this issue. Your fix makes sense and you can submit a PR directly. |
@RizhaoCai - could you please submit a PR for this fix? thanks. |
OK. I will check if there will be any side effects and then submit a PR. |
Traceback
Hey NNI developers,
I would like to utilize NNI for pruning. However, when I just installed NNI and ran the demo example from here: https://github.com/microsoft/nni/blob/master/examples/model_compress/main_torch_pruner.py
I came with this error.
How to reproduce it:
python main_torch_pruner.py
nni Environment:
Any idea to solve it? If there is something wrong with the demo, there should be bugs in the code.
The text was updated successfully, but these errors were encountered: