https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
https://blog.csdn.net/xunan003/article/details/81665835
sudo rm -rf /var/crash
sudo dpkg --configure -a
dpkg -l | grep ^ii | awk ‘{print $2}’ | grep -v XXX | xargs
sudo aptitude reinstall
1.排除硬件问题(进入windows系统看看是否可用,或尝试打开BIOS界面)
2.非硬件问题:重启按下ESC进入grub引导界面
3.选择ubuntu高级选项(ubuntu Advanced Options)
4.选择(Recovery mode)的选项
5.选择Network,并选择yes
6.选择Drop to root shell prompt,并点"Enter"
7.输入mount -o rw,remount /
8.输入apt install xserver-xorg-input-all(需要联网)
9.完成后输入sudo reboot重启电脑
https://blog.csdn.net/fx_yzjy101/article/details/80243710
https://www.cnblogs.com/tlz888/p/9569234.html
sudo apt-get update
sudo apt-get install build-essential
https://www.cnblogs.com/yjlch1016/p/8641910.html
https://blog.csdn.net/Test_tju/article/details/86603160
https://blog.csdn.net/moshiyaofei/article/details/86529216
https://www.ipaddress.com/查询github.com和github.global.ssl.fastly.net的ip地址
sudo vim /etc/hosts
把两个网址及其ip地址按照 "ip地址 网址"的形式添加到文件末尾
sudo rm -rf /usr/local/include/glog/
sudo rm -rf /usr/local/lib/libglog*
强制重新安装pip
https://blog.csdn.net/youlaqian/article/details/81410700
sudo dpkg -i cuda-repo-ubuntu1604<<>>
sudo apt-key add /var/cuda-repo-<<>>/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda
(安装多个版本的cuda,第二个版本之后需要指定版本)sudo apt-get install cuda-10-0
https://blog.csdn.net/wf19930209/article/details/81879514
https://blog.csdn.net/wanzhen4330/article/details/81699769
安装完成加入~/.bashrc
export LD_LIBRARY_PATH= L D L I B R A R Y P A T H : / u s r / l o c a l / c u d a − 10.0 / l i b 64 e x p o r t P A T H = LD_LIBRARY_PATH:/usr/local/cuda-10.0/lib64 export PATH= LDLIBRARYPATH:/usr/local/cuda−10.0/lib64exportPATH=PATH:/usr/local/cuda-10.0/bin
export CUDA_HOME=$CUDA_HOME:/usr/local/cuda-10.0
https://blog.csdn.net/ksws0292756/article/details/80120561
sudo rm -rf cuda
sudo ln -s /usr/local/cuda- /usr/local/cuda
download (need a nvidia account)
https://developer.nvidia.com/rdp/cudnn-archive
https://blog.csdn.net/wanzhen4330/article/details/81699769
如果cudnn的文件形式是solitairetheme8,执行
cp cudnn--linux-x64-v.solitairetheme8 cudnn--linux-x64-v.tgz
tar -xvf cudnn-8.0-linux-x64-v5.1.tgz
官网上下载
在/usr/share/applications/下创建一个Pycharm.desktop,键入以下内容:
[Desktop Entry]
Version=1.0
Type=Application
Name=Pycharm
Icon=/home/syq/pycharm-community-2019.2/bin/pycharm.png
Exec=sh /home/syq/pycharm-community-2019.2/bin/pycharm.sh
MimeType=application/x-py;
Name[en_Us]=pycharm
保存,复制到桌面
https://tensorflow.google.cn/install/gpu
https://pytorch.org/get-started/locally/
python3 tools/train_net.py --config-file ~/github/maskrcnn-benchmark-master/configs/e2e_mask_rcnn_R_101_FPN_1x.yaml
https://github.com/facebookresearch/maskrcnn-benchmark
https://blog.csdn.net/ChuiGeDaQiQiu/article/details/83868512
https://blog.csdn.net/yang332233/article/details/97205123
https://yq.aliyun.com/articles/701361