Comments (7)
#191 might help
from alpha-zero-general.
Yes, thanks for pointing this out. However I already dicovered this one and I couldn't find anything similiar in my code. I made sure that I always copy the pieces in the game code. It just seems that mcts is not exploring edges which the players in the arena then want to play. But I guess it should only play discovered moves (s/a) in the arena since it uses greedy search, right?
from alpha-zero-general.
Could you share your code?
from alpha-zero-general.
Could you share your code?
I gladly do: https://github.com/visuallization/alpha-zero-general-hex/tree/master/hex
The relevant files are HexGame.py
and HexBoard.py
. Furthermore it currently uses the NeuralNet architecture from Othello.
from alpha-zero-general.
I am not working with pass though, like Othello does because there is no pass in Hex.
from alpha-zero-general.
Okay there might be an issue how I represent the canonicalBoard
in getCanonicalForm
. If I just return the board without inverting it, the issue of not finding the state in self.Nsa does not arise anymore.
def getCanonicalForm(self, positions, player):
board = HexBoard(self.size)
board.positions = np.copy(positions)
return board.positions
#return player * board.positions
from alpha-zero-general.
@visuallization did you ever figure this out?
I believe from looking at your fork that this issue was resolved, and is a dupe of #191
from alpha-zero-general.
Related Issues (20)
- Othello Keras Pretrained Model : UnpicklingError
- mainTafl.py does not work for me
- Initial exploration values in MCTS HOT 1
- Single Player Game HOT 1
- Issue in loss in pytorch version? HOT 2
- Throw except 'TypeError: build() missing 1 required keyword-only argument: 'roles'' when I run example demo HOT 1
- Not pure RL HOT 1
- A fast, parallel and batched fork of this repo HOT 1
- mcts is reset after every episode? HOT 1
- self play is exceptionally slow on GPU HOT 1
- Chess implementation? HOT 6
- Request: moving pretrained_models to git submodule
- Request: publishing package(s) to PyPI
- MCTS simulation
- Using while loop in the MCTS search function instead of recursion
- google colab err
- Actionspace 1 to many HOT 3
- Game with player getting double turns / moves HOT 5
- mini-othello not trained right?
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 alpha-zero-general.