DNNToolBox/Net-Trim-v1

Refined matrix is null

Opened this issue · 2 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.