Open ironartisan opened 5 months ago
check_sparsity return Ratio of the count of non-zero weights to total parameters in the model. How is non-zero sparsity calculated? https://github.com/CASIA-IVA-Lab/FLAP/blob/3bb57db3449dd2fa04a5c2192de80e87e33be2b1/lib/prune.py#L43
check_sparsity return Ratio of the count of non-zero weights to total parameters in the model. How is non-zero sparsity calculated? https://github.com/CASIA-IVA-Lab/FLAP/blob/3bb57db3449dd2fa04a5c2192de80e87e33be2b1/lib/prune.py#L43