Skip to content

Commit

Permalink
Merge pull request Tencent#72 from wonderingabout/faq789-master
Browse files Browse the repository at this point in the history
Faq question+answer 7-8-9 master
  • Loading branch information
wodesuck authored Dec 13, 2018
2 parents 1e88fb2 + 66c8af6 commit ea03373
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,45 @@ time_control {

`c_denom` and `c_maxply` are parameters for deciding how to use the "main time".
`reserved_time` is how many seconds should reserved (for network latency) in "byo-yomi time".

**7. Syntax error (Windows)**

For windows,
- in config file,

you need to write path with `/` and not `\` in the config file .conf,

for example :

```
model_config {
train_dir: "c:/users/amd2018/Downloads/PhoenixGo/ckpt"
```

- in cmd.exe,

Here you need to write paths with `\` and not `/`. Also command format on windows needs a space and not a `=`, for example :

`mcts_main.exe --gtp --config_path C:\Users\amd2018\Downloads\PhoenixGo\etc\mcts_1gpu_notensorrt.conf`

See point 8. below :

**8. '"ckpt/zero.ckpt-20b-v1.FP32.PLAN"' error: No such file or directory**

This fix works for all systems : Linux, Mac, Windows, only the name of the ckpt file changes. Modify your config file and write the full path of your ckpt folder, for example for linux :

```
model_config {
train_dir: "/home/amd2018/PhoenixGo/ckpt"
```

for example, for windows :

```
model_config {
train_dir: "c:/users/amd2018/Downloads/PhoenixGo/ckpt"
```

**9. Path errors during bazel configure**

See https://github.com/Tencent/PhoenixGo/wiki/Install-cuda-and-do-bazel-configuration

0 comments on commit ea03373

Please sign in to comment.