tadaoyamaoka / python-dlshogi2 Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
変換した訓練データとテストデータを使用して、モデルの訓練を試みた際に、
pydlshogi2がModuleNotFoundError: No module named 'pydlshogi2' となりました。
原因追求した結果、おそらく、バージョンが変わったことによってエラーが出ていると思われます
正常にインストールできているはずですが、import文を書く際に波線が付きます。
私では力不足のため、もし良ければ改善方法を教えていただきたいです
cshogiは縦型ビットボードのため、変数to_xとto_yおよびfrom_xとfrom_yが、それぞれ将棋盤に対して、xが垂直方向、yが水平方向になっており、以下の処理のUP、DOWN、LEFT、RIGHTなどの定数の意味と整合性が取れていない。
また、桂馬の動きが正しく判定されていない。
特殊な例かもしれませんが,Colabで学習しておいて
ローカルがAMDな人向けにonnxruntime-directmlが使えるように
Onnxファイルへの変換スクリプトはあった方がいいかもしれません。
ノートPCがAPUな人は母数として多いと思われます。
インテル内臓GPUでも最新ならCPUより速いくらいのはずです。
setuptools==61.0.0 以降では、setup.pyにpackagesを指定が必要
reset_to_positionに渡すキーは、現在の局面ではなく、startposまたはsfenの局面が正しい。
CPUのみの場合はpin_memory=Trueを削ると動作する。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.