I recently released a new version of KaTrain, a program which uses the full power of KataGo for reviewing and playing teaching games. It includes 10+ AI options of a wide range of strengths, and is aimed at showing you the moves where you actually lost the most points.
This release includes a new feature to download the very latest 20b/30b/40b KataGo models as well as Chinese and Spanish translations. Special thanks to the Spanish OGS community for helping with a last-minute help!
See an overview of the latest features in a video by my contributor Matthew here:
Check out the windows installers and instructions for installing on other OS here
Enjoy!
10 Likes
Debroos
January 28, 2021, 10:30am
2
Hi - Iâve downloaded KaTrain to a W10 pc and when I fire it up I get the message âEngine died unexpectedly without sending output, possibly due to out of memory status 3221225501â Iâve tried both the simple exe file and the zipped version. When starting KaTrain Windows does present a 'this exe unknown and may damage computer" kind of message which I ignore, but could the twitchy PC be interfering with KaTrainâs operation. If itâs possible to get it working - that would be grand
Thank you very much for this great app!
1 Like
sanderl
January 28, 2021, 10:52am
4
Debroos:
3221225501
is this 1.7.4? try the debug exe in the zip with debug level=1 in general settings, it gives me something more to go on. also download katago versions and try some different ones (opencl, eigen)
I had this situation. My laptop is not very powerful. I went to General & Engine Settings, found the Download KataGO Versions line and in the drop-down list selected âŚ/Users/Username/.katrain/katago-v1.8.0-opencl-windows-x64. Then I pressed Update Settings, wait a little, and itâs working.
Maybe you will need to press Download KataGO Versions first and wait for download finish, and then select your version.
Sorry for my poor English.
It is 1.7.4
Hereâs the readout from the debug
Thanks for checking this out. Iâll find other versions and try them as suggested
Using user config file C:\Users\kimki.katrain\config.json
[INFO ] [Logger ] Record log in C:\Users\kimki.kivy\logs\kivy_21-01-28_4.txt
[DEBUG ] [Resource ] add <C:\WINDOWS\Fonts> in path list
[DEBUG ] [Resource ] add <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\kivy_install\data\fonts> in path list
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\ai.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\play.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\analysis.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Finish.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Insert-Move.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\local.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Alternative.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Sweep.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Equalize.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Extra.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\hamburger.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\menu.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\menu.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\black_circle.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\black_circle.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Next-Mistake.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Next-End.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Next-5.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Next.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\white_circle.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Previous.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Previous-5.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Previous-End.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Previous-Mistake.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Collapse.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Branch.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\delete.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Next-5.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\graph_bg.png>
[DEBUG ] [Atlas ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\kivy_install\data\images\defaulttheme.atlas>
[DEBUG ] [Atlas ] Need to load 1 images
[DEBUG ] [Atlas ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\kivy_install\data\images\defaulttheme-0.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\kivy_install\data\images\defaulttheme-0.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-jp.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-ko.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-tw.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-cn.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-ru.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-fr.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-de.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\flags\flag-uk.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\General-Settings.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\AI-Settings.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Teaching-Settings.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Time-Settings.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Load-Game.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Save-Game-As.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\Save-Game.png>
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\New-Game.png>
Starting KataGo with [âC:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\KataGo/katago.exeâ, âanalysisâ, â-modelâ, âC:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\models\g170e-b15c192-s1672170752-d466197061.bin.gzâ, â-configâ, âC:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\KataGo/analysis_config.cfgâ, â-analysis-threadsâ, â12â]
Sending query QUERY:1: {ârulesâ: âjapaneseâ, âpriorityâ: -999999, âanalyzeTurnsâ: [0], âmaxVisitsâ: 25, âkomiâ: 6.5, âboardXSizeâ: 19, âboardYSizeâ: 19, âincludeOwnershipâ: true, âincludeMovesOwnershipâ: true, âincludePolicyâ: true, âinitialStonesâ: [], âinitialPlayerâ: âBâ, âmovesâ: [], âoverrideSettingsâ: {âreportAnalysisWinratesAsâ: âBLACKâ, âmaxTimeâ: 8.0}, âreportDuringSearchEveryâ: 0.25, âidâ: âQUERY:1â}
[DEBUG ] [Base ] Create provider from mouse,multitouch_on_demand
[DEBUG ] [Base ] Create provider from wm_touch
[DEBUG ] [Base ] Create provider from wm_pen
[INFO ] [Base ] Start application main loop
2021-01-28 13:08:51+0000: Analysis Engine startingâŚ
2021-01-28 13:08:51+0000: KataGo v1.8.0 (Minified for KaTrain v1.7.1)
2021-01-28 13:08:51+0000: nnRandSeed0 = 10768108021346706220
2021-01-28 13:08:51+0000: After dedups: nnModelFile0 = C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\models\g170e-b15c192-s1672170752-d466197061.bin.gz useFP16 auto useNHWC auto
[DEBUG ] [ImageSDL2 ] Load <C:\Users\kimki\Documents\GO\KaTrain\KaTrain\katrain\img\board.png>
ERROR: Engine died unexpectedly without sending output, possibly due to out of memory: status 3221225501
ERROR: Engine died unexpectedly without sending output, possibly due to out of memory: status 3221225501
Exception in reading stdout Engine died unexpectedly without sending output, possibly due to out of memory: status 3221225501
Exception in thread Thread-1:
Traceback (most recent call last):
File âthreading.pyâ, line 932, in _bootstrap_inner
File âthreading.pyâ, line 870, in run
File âkatrain\core\engine.pyâ, line 204, in _analysis_read_thread
File âkatrain\core\engine.pyâ, line 157, in check_alive
katrain.core.engine.EngineDiedException: Engine died unexpectedly without sending output, possibly due to out of memory: status 3221225501
Thanks for the reply - your English is great - as is your advice. The drop down list on my version simply said no versions available until a couple of minutes ago, when 5 suddenly appeared. Iâve downloaded the x64 version and itâs working fine.
1 Like
Hi - further to the last message I followed the advice of MindRanger - below and hit the download KataGo versions. It repeatably came up with no versions available, but whilst Iâve been replying to both your response and his, 5 versions were found and it appears to be working fine. Thanks very much for your help.
2 Likes