Comments (6)
Hi @robinpdev ,
Apologies for the lateness on this.
This seems like an error when parsing the json, maybe it's missing a specific entry or has a syntax error.
Have you tried reading that json file separately using utils/json.{h,cc}
?
Did you manually create that .json file or was it printed out from AlphaZero training? Have you modified it?
from open_spiel.
That error is coming from here:
open_spiel/open_spiel/utils/json.cc
Line 67 in 7cbb52e
But that's an general parse error function that is called from multiple places in the file. It would be good to have the full stack trace or at least the token that's causing the issue.
Either way, would be good to reproduce in a simpler setting. Can you reproduce the problem in a much simpler main program that only tries to read that .json file to see if it's the reader itself stumbling?
(To avoid unnecessary dependencies, we built our own simple JSON parser but we may have not covered a case that is required by your specific .json file. In that case it'd be a quick fix once we isolate the problem.)
from open_spiel.
The JSON file was generated by the alphazero training implementation and was not edited.
I however got it to work for my current configuration so this is not an immediate problem anymore. I will look into it more if i encounter this problem again. Thanks for the response.
from open_spiel.
Hey robin. Did you manage to get it combiled for gpu? Im really struggling to build the project for gpu
from open_spiel.
this seems to be fixed.
from open_spiel.
Hi, sorry for not responding! I have been away from GitHub for a while and didn't realize there are more people using Libtorch AZ. That's great to hear!
If you have the chance, would you be able to post your solution to this problem? Or maybe even the configuration that caused errors and the configuration you used that resolved the problem?
from open_spiel.
Related Issues (20)
- Bug with nox HOT 3
- PPO and selfplay HOT 1
- Regarding the legality of commercially licensed board games HOT 2
- Block dominoes implementation HOT 2
- Adding a new python game HOT 7
- Problem with Julia API on Ubuntu 24.04 HOT 7
- Problem with Python AlphaZero using Keras 3 HOT 6
- Problem with RCFR using Keras 3 HOT 3
- Problem with TF2 version of Deep CFR using Keras 3 HOT 1
- Spades Implementation HOT 15
- Returned Policies and Exploitability HOT 2
- dqn_torch_test build failure HOT 6
- AlphaZero pseudo code available? HOT 2
- developing agents for team dominoes HOT 13
- [Puzzle] N-Queens HOT 7
- Spielviz gives AttributeError: module 'pyspiel' has no attribute 'GameParameter' HOT 28
- Failure in alpha_zero.py HOT 1
- chat_game_base.py prints lots of stuff during testing
- Issue with Downloading OpenSpiel Package via pip HOT 6
- Congestion games via C++ API HOT 5
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 open_spiel.