DNNToolBox / Net-Trim-v1

Net-Trim: Convex Pruning of Deep Neural Networks with Performance Guarantee
59 stars 20 forks source link

Refined matrix is null #3

Open tchaton opened 6 years ago

tchaton commented 6 years ago

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 ()

afshinabdi commented 6 years ago

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.

tchaton commented 6 years ago

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