I install cuda 9.0 first successfully. Then I found that tensorflow 1.4 support cuda 8.0 only. So I uninstall 9.0 and install 8.0 again.
But every time, I got black screen during installing. I even tried to uninstall all the gpu dirvers and reinstall the driver from nvidia official website. But it didn’t work.