microsoft / nni

An open source AutoML toolkit for automate machine learning lifecycle, including feature engineering, neural architecture search, model compression and hyper-parameter tuning.
https://nni.readthedocs.io
MIT License
14.06k stars 1.82k forks source link

About encountering exception while using ConvTranspose2d in nni pruning #5805

Open ChristopherCao opened 2 months ago

ChristopherCao commented 2 months ago

Describe the issue: Report an bug.

When using ConvTranspose2d in config_list to prune my models, I encountered an exception: Unsupported types for ConvTranspose2d. However, when I check the library files, I see this image in nni/compression/speedup/mask_conflict.py, it deals with ConvTranspose2d here, whereas does not deal with ConvTranspose2d here, which leads to exception for anyone who uses ConvTranspose2d in their codes image However, I have no idea to solve this by coding myself, so I report a bug here. Hope to see the solution ASAP, thanks!

Environment:

Configuration:

Log message:

How to reproduce it?: