Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_train_data depends on neural_net, where does neural_net come from? #100

Open
linuxaged opened this issue Apr 3, 2018 · 1 comment

Comments

@linuxaged
Copy link

Any munual about how to train in details? How to get the JSON generated training data?

@FrederikHusche
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants