hi,
in line 84 you wrote as comment:
set the pixels to all be 0. or 1.
but with the following code
cv2.threshold(screen_resized_grayscaled, 1, 255, cv2.THRESH_BINARY)
you set them to 0 or 255. So the input data is not normalized, or? So , if you mostly pipe in zeros, wouldnt then the neurons not all get also zero ? x*W+b ?
https://github.com/DanielSlater/PyGamePlayer/blob/master/examples/deep_q_pong_player.py#L84
hi,
in line 84 you wrote as comment:
but with the following code
you set them to 0 or 255. So the input data is not normalized, or? So , if you mostly pipe in zeros, wouldnt then the neurons not all get also zero ? x*W+b ?
https://github.com/DanielSlater/PyGamePlayer/blob/master/examples/deep_q_pong_player.py#L84