上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: 升级pip版本即可 sudo pip install setuptools --upgrade 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(0) 评论(0) 推荐(0)
摘要: 1.安装autoconf sudo apt-get install autoconf 2.开始编译 cd protobufbash autogen.sh./configuremakemake checksudo make install 3.使库文件开始生效 ... 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(279) 评论(0) 推荐(0)
摘要: 在ubuntu上使用matplotlib时出现了这样的提示,解决方案: sudo apt-get install python3-tk 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(0) 评论(0) 推荐(0)
摘要: 我们在下载pytorch安装包时,会发现CUDA9.0有py27_gpu版有两个whl下载文件,分别是: cu90/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whlcu90/torch-0.3.0.post4-cp2... 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(193) 评论(0) 推荐(0)
摘要: anaconda search -t conda my_package 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(22) 评论(0) 推荐(0)
摘要: #进入命令行模式 sudo apt-get install --reinstall ubuntu-desktop 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(39) 评论(0) 推荐(0)
摘要: pkg-config --modversion opencv 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(24) 评论(0) 推荐(0)
摘要: 假设变量名为ts 方法一: ts=ts.double()ts=ts.long() 方法二: ts=ts.type(torch.DoubleTensor())ts=ts.type(torch.LongTensor()) 扫码关注 实用AI客栈 获取最新AI资讯与... 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(84) 评论(0) 推荐(0)
摘要: import numpy as nparr=np.array([0,0,2,3,0,4])print((arr!=0).argmax(axis=0))#2 扫码关注 实用AI客栈 获取最新AI资讯与实战案例 小编微信号 : langu86 福利区:独学而无友... 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(42) 评论(0) 推荐(0)
摘要: lst=[[1,2,3,'0'], [2,3,4,'1']]arr=np.array(lst) lst里面的元素最后全部会变为str类型 阅读全文
posted @ 2022-11-13 22:36 dlhl 阅读(19) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页