Comments (5)
Many of the custom parameters you chose in your code for #94 don't make the engine stronger. E.g., you're using the minimum for Threads, Skill Level, Hash. One or more of these could have an influence on engine speed. E.g., lowering Skill Level makes SF increase the value for MultiPV, in order for it to have sub-optimal moves to pick from.
Also, you're using depth 9 for the python chess module, but that's still very low. Running Stockfish directly, it gets to depth 9 in an instant. So it'd be better to test both python modules using a depth value of at least 20. What was the time difference when you did your tests?
from stockfish.
already tried different parameter, and
the default
import stockfish
stockfish.get_parameters()
stockfish = Stockfish(path = engine, depth = 18,
parameters = {'Contempt': 0, 'Debug Log File': '', 'Hash': 1024,
'Min Split Depth': 0, 'Minimum Thinking Time': 20,
'Move Overhead': 10, 'MultiPV': 1, 'Ponder': 'false',
'Skill Level': 20, 'Slow Mover': 100, 'Threads': 1,
'UCI_Chess960': 'false', 'UCI_Elo': 1350,
'UCI_LimitStrength': 'false'} )
but still got the same result, that's why before post an issue, already try to mix some parameter value and perhaps can change the result, but the result is same (stockfish python module take longer)
question
what is the parameter both of chess and stockfish, to get the same result ?
from stockfish.
For taking longer, do you mean looping forever, or just slower in general?
To get comparable results, I'd recommend not sending in any parameters for the python stockfish module, just set depth to something like 25. For python chess, maybe just set hash equal to 1024, and also depth to 25. Use defaults for everything else.
from stockfish.
in this issue is talk about just stockfish engine not it's derivates
$ ~/Downloads/chess/engine/stockfish -v
Stockfish 11 64 by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
so it's never looping forever when using stockfish engine with stockfish python module, it's just slower comparable when the same stockfish app above version 11 is used by chess module
from stockfish.
Hello, this project is no longer maintained in this repo but on this fork. (For more information about this please look here).
It is not possible to transfer the entire discussion here. However, when we go through the remaining issues, we will get back to you and either create a proxy issue or find another solution.
Just be aware that the project will no longer be updated here.
from stockfish.
Related Issues (20)
- Option to get board visual from either side HOT 2
- FR - Include chess notation entry HOT 2
- FR - Translate move string to human readable description of the move HOT 1
- top_moves returning empty list stockfish 15 HOT 2
- Improving some small things about self.depth HOT 1
- Stockfish 15 Errors on Linux HOT 4
- could use help implementing this HOT 2
- Jupyter Notebook HOT 2
- Improve the is_fen_valid function HOT 1
- Get best move from current position HOT 1
- Compatibility with chess library HOT 2
- [Meta] The future of this project (Please read this before opening new issues or PRs)
- can't use stockfish_mv in google colab HOT 1
- get_evaluation() implemented wrong HOT 2
- Error in stockfish\models.py in __del__, _put HOT 2
- does_current_engine_version_have_wdl_option() not work on stockfish variant
- stockfish derivatives not work when analyze pgn HOT 16
- Stockfish crashes on invalid position instead of error mesasge HOT 5
- will_move_be_a_capture throws exeption when converting pawn
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 stockfish.