- 博客(5)
- 收藏
- 关注
原创 github 常用命令
下载到本地:git clone (repo-http-url)移除原先的远程仓库:git remote rm origin设置新的远程仓库:git remote add origin git@github。。。.gitgit remote -v更新到最新版本并与本地代码融合(有时需手动融合):git fetchgit diff origin/mastergi...
2018-04-13 09:02:32
195
原创 双系统 Ubuntu进入grub后内核文件丢失无法启动
问题描述:双系统,从ubuntu的grub界面,直接从默认的第一选项进入后,显示kernel panic, 以及 not tainted + boot里面内核文件的名字,然后就卡在那里,只能强行关机了。原因:只给ubuntu boot盘分配了300M,然后它会自动更新至少4版内核以供用户选择,结果空间不足。博主参照了一篇博文 “Ubuntu下提示/boot空间不足解决办法”,删除了其他2个
2018-01-27 07:47:13
1382
原创 报错调试杂记
Quiver :No data for this layer解决办法:添加 ./tmp文件夹Python 默认到Conda路劲,需要还原到原始路径解决办法:gedit ~/.bashrc 注释掉anaconda自动添加的路劲
2018-01-16 09:50:56
253
1
转载 npz转png
import numpy as npfrom PIL import Imagepath='./mnist.npz'f = np.load(path)x_train, y_train = f['x_train'], f['y_train']x_test, y_test = f['x_test'], f['y_test']for i in range(x_train.shape
2018-01-16 09:04:06
2192
原创 nvidia ubuntu安装配置
1. ubuntu16.042. NVIDIA驱动版本 387(查看GPU型号lspci | grep -i vga如果nvidia-smi显示无command或者无法连接driver先卸载:sudo apt-get remove --purge nvidia-*再直接采用software update更新)3. CUDA8.0(deviceQue
2018-01-16 08:18:03
738
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人