本来去github下载BERT的,结果网页一直显示空白加载不出来,解决它,只要修改hosts文件就行了。
修改hosts文件:
1、找到hosts文件:hosts文件路径是C:\Windows\System32\drivers\etc
2、以记事本的方式打开
3、在最后面添加下面几句:
192.30.253.112 github.com
192.30.253.119 gist.github.com
151.101.100.133 assets-cdn.github.com
151.101.100.133 raw.githubusercontent.com
151.101.100.133 gist.githubusercontent.com
151.101.100.133 cloud.githubusercontent.com
151.101.100.133 camo.githubusercontent.com
151.101.100.133 avatars0.githubusercontent.com
151.101.100.133 avatars1.githubusercontent.com
151.101.100.133 avatars2.githubusercontent.com
151.101.100.133 avatars3.githubusercontent.com
151.101.100.133 avatars4.githubusercontent.com
151.101.100.133 avatars5.githubusercontent.com
151.101.100.133 avatars6.githubusercontent.com
151.101.100.133 avatars7.githubusercontent.com
151.101.100.133 avatars8.githubusercontent.com
4、保存
然后再去GitHub就发现网页正常加载出来了。