DNNToolBox / Net-Trim-v1

Net-Trim: Convex Pruning of Deep Neural Networks with Performance Guarantee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refined matrix is null

tchaton opened this issue · comments

Hello there,

I have been running your code and it appears that the solution given by the solver is null.
Could you look into it please ?

net_trim_issues
()

Can you try the code with python 3?
Also, have you checked the norm of refined_W? If some nodes are redundant, the algorithm will assign 0 to all weights connected to that node. So, checking the norm of the answer (or the norm of each row/column) would be a simple and fast way to figure out the dropped nodes.

I have tried both. Python 2 and python 3. I will retry python 3 though.