pytorch / ELF

ELF: a platform for game research with AlphaGoZero/AlphaZero reimplementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError:Device index must not be negetive

Jimerlife opened this issue · comments

After running ./start_client.sh, a error called "RuntimeError:Device index must not be negetive" ocurred. Did someone has same problem?

Not sure if this is the right solution, but I managed to fix this by adding --gpu0 0 to scripts/elfgames/go/start_client.sh.

I just don't see from the code where should the option parser pick up that the default value for --gpu0 should be the same as the one for --gpu if not explicitly given.

RuntimeError: Device index must not be negative
[INFO/MainProcess] process shutting down