marcpaga / sturgeon

Sturgeon is a CNS neural network classifier
https://www.nature.com/articles/s41586-023-06615-2
Other
28 stars 8 forks source link

Not enough values to unpack in live.py line 471 #9

Closed chinmaysharmacs10 closed 6 months ago

chinmaysharmacs10 commented 7 months ago

In live.py the load model method does not return weight_matrix. However line 471 is expecting weight_matrix as a return parameter which means that line is expecting 6 return parameters instead of 5. This leads to an error.

Moreover, weight_matrix is not being used later, so it seems to be a mistake.

Screenshot 2024-02-09 at 10 24 39 AM
marcpaga commented 7 months ago

Thanks for the bug report, fixed in https://github.com/marcpaga/sturgeon/commit/49a7666dfd7e12f6a63d40a1f01a30fac64652f9.