new windows kata, fixes

This commit is contained in:
Sander Land committed 2020-08-26 20:25:20 +02:00
1 parent 32bf285081
commit 9f9bdad016
4 files changed
+10 -11

No files matched your search

+4 -5
View File
@@ -62,10 +62,9 @@ but has since grown to include a wide range of features, including:
### YouTube videos
| **New Features in v1.3** | **Analysis Tutorial** | **Teaching Game Tutorial** |
| **New Features in v1.4** | **Analysis Tutorial** | **Teaching Game Tutorial** |
|:-----------------------------------------------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------------:|:------------------------------------------------------------------------------------------------------------:|
| [![New Features Video](https://user-images.githubusercontent.com/48946947/86819542-1514ee80-c088-11ea-954e-7830f7926b97.png)](https://www.youtube.com/watch?v=h8qCzjd5tEo) | [![Analysis Tutorial](https://i.imgur.com/3EP4IEr.png)](https://www.youtube.com/watch?v=qjxkcKgrsbU) | [![ Teaching Game Tutorial](https://i.imgur.com/jAdcSL5.png)](https://www.youtube.com/watch?v=wFl4Bab_eGM) |
| [![New Features Video](https://i.imgur.com/IXNwTHL.png)](https://www.youtube.com/watch?v=ujjRWGSZJrQ&feature=youtu.be) | [![Analysis Tutorial](https://i.imgur.com/3EP4IEr.png)](https://www.youtube.com/watch?v=qjxkcKgrsbU) | [![ Teaching Game Tutorial](https://i.imgur.com/jAdcSL5.png)](https://www.youtube.com/watch?v=wFl4Bab_eGM) |
@@ -82,8 +81,8 @@ KaTrain comes pre-packaged with a working KataGo (OpenCL version) for Windows an
To change the model, open 'General and Engine settings' in the application and 'Download models'. You can then select the model you want from the dropdown menu.
To change the katago binary,
for example to the CPU version if you don't have a GPU, click 'Download KataGo versions'.
You can then select the KataGO binary from the dropdown menu.
e.g. to the Eigen/CPU version if you don't have a GPU, click 'Download KataGo versions'.
You can then select the KataGo binary from the dropdown menu.
Finally, you can override the entire command used to start the analysis engine, which
can be useful for connecting to a remote server. Do keep in mind that KaTrain uses the *analysis engine*
Binary file not shown.
+2 -2
View File
@@ -7,7 +7,7 @@
"threads": 12,
"max_visits": 500,
"fast_visits": 50,
"max_time": 3.0,
"max_time": 8.0,
"wide_root_noise": 0.0,
"_enable_ownership": true
},
@@ -66,7 +66,7 @@
true
],
"eval_off_show_last": 3,
"text_point_loss": true,
"text_point_loss": false,
"eval_show_ai": true,
"lock_ai": false
},
+4 -4
View File
@@ -434,7 +434,9 @@ class ConfigPopup(QuickConfigGui):
self.paths.append(path) # persistent on paths with models found
model_files += files
katas_available_msg = i18n._("katago binaries available").format(num=len(model_files))
self.katago_files.values = [katas_available_msg, i18n._("default katago option")] + model_files
self.katago_files.values = [katas_available_msg, i18n._("default katago option")] + sorted(
model_files, key=lambda f: "bs29" in f
)
self.katago_files.text = katas_available_msg
MODELS = {
@@ -446,7 +448,6 @@ class ConfigPopup(QuickConfigGui):
KATAGOS = {
"win": {
"OpenCL v1.6.1": "https://github.com/lightvector/KataGo/releases/download/v1.6.1/katago-v1.6.1-gpu-opencl-windows-x64.zip",
"OpenCL v1.6.1 (32 bit)": "https://github.com/lightvector/KataGo/releases/download/v1.6.1/katago-v1.6.1-gpu-opencl-windows-x32-dont-use-unless-actually-32bit-windows.zip",
"CUDA v1.6.1 (New NVIDIA cards)": "https://github.com/lightvector/KataGo/releases/download/v1.6.1/katago-v1.6.1-gpu-cuda10.2-windows-x64.zip",
"Eigen AVX2 (Modern CPUs) v1.6.1": "https://github.com/lightvector/KataGo/releases/download/v1.6.1/katago-v1.6.1-cpu-eigen-avx2-windows-x64.zip",
"Eigen (CPU, Non-optimized) v1.6.1": "https://github.com/lightvector/KataGo/releases/download/v1.6.1/katago-v1.6.1-cpu-eigen-windows-x64.zip",
@@ -502,7 +503,6 @@ class ConfigPopup(QuickConfigGui):
self.download_progress_box.add_widget(
Label(text=i18n._("All models downloaded"), font_name=i18n.font_name, text_size=(None, dp(50)))
)
print("x")
def download_katas(self, *_largs):
def unzipped_name(zipfile):
@@ -537,7 +537,7 @@ class ConfigPopup(QuickConfigGui):
)
self.check_katas()
for c in self.download_progress_box.children:
for c in self.katago_download_progress_box.children:
if isinstance(c, ProgressLoader) and c.request:
c.request.cancel()
self.katago_download_progress_box.clear_widgets()