Comments (1)
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.
from hearthstone-ai.
Related Issues (20)
- Compilation with VS 2017 community (Windows)? HOT 9
- Metadata file 'GameEngineCppCLI.dll' could not be found HOT 1
- You are a bad person and should be isolated.
- run 'make' under generate_train_data failed
- What do resource feature represent in the game?
- judge: refine Recorder HOT 1
- Binaries HOT 1
- move mcts::board::* to engine module HOT 1
- randomize hidden information in judger HOT 1
- refine neural network implementation
- don't need to use double here
- integrate with TensorFlow C++ HOT 6
- I can't follow Installation process HOT 2
- Needs Simulator so we don't need the actual game to train data. HOT 3
- It is not working HOT 2
- BadImageFormatException when trying to run HearthstoneAI
- Building on macOS HOT 1
- contact email HOT 1
- Binaries?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hearthstone-ai.