KataGo's code validates that komi*2 is an integer, and if not it rejects it as an invalid input, the same way it would reject it if you said the komi was "foobar" or some other non-numeric value.
Integers values are supported (because integer*2 is an integer). You can set it to exactly 7, if you like. Training occurs on a wide variety of komi values, both integer and half-integer, so KataGo already knows how to adjust its play and its evaluations for different komi. Within reason - maybe if you set a komi of 100 but give a position where black is winning by about that much on the board it won't behave as well in judging how well the komi balances the board, since that's going to be enormously outside of KataGo's training experience.
|