Swift-AI / NeuralNet

An artificial neural network written in Swift
MIT License
211 stars 41 forks source link

No biases saved in Storage.swift #6

Open ferrazza opened 6 years ago

ferrazza commented 6 years ago

Hi, I noted different output values (with same input) after saving and restoring a neural network in url. I discovered that in saving methods of neural network (Storage.swift), only weights are saved but not biases. Little modifications to save and restore both weights and biases correct this issue.

plivesey commented 5 years ago

Oh man...thanks for reporting this! I didn't notice this, but clearly causing problems. I'll add it to my pr #10.