Open linuxaged opened 6 years ago
I know it's very late, but you can create the net by calling NeuralNetwork::CreateWithRandomWeights("neural_net");
.
I put it in NeuralNetwork.cpp in NeuralNetwork::Load, line 415, so it looks like this:
void NeuralNetwork::Load(std::string const& path, bool is_random) { // reload neural net delete impl_; impl_ = new impl::NeuralNetworkImpl(); NeuralNetwork::CreateWithRandomWeights("neural_net"); impl_->Load(path, is_random); }
.
Just remove the line after it ran once and the net got created.
Any munual about how to train in details? How to get the JSON generated training data?