harbecke / HexHex

AlphaGo Zero adaptation for Hex
GNU General Public License v3.0
20 stars 4 forks source link

when all values of the output tensor are 0 there is a division by 0 #10

Closed harbecke closed 5 years ago

harbecke commented 5 years ago

unfortunately this just gives a RuntimeError: CUDA error: device-side assert triggered Assertion THCNumerics<T>::ge(val, zero) failed

and not for the line where the division by 0 is :(

harbecke commented 5 years ago

should be solved with 476d8294ac680f2301140d526692eb5d4237d072 and 1ca6c1e584780200c9e8dc46a234efbe961baa57