Neural network wave functions and the sign problem