摘要: Simulate System LoadsSysadmins often need to discover how the performance of an application is affected when the system is under certain types of load 阅读全文
posted @ 2021-03-30 17:48 喝姜水涂风油精 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 调整更新频率: sudo powertop --time=x sedonds 输出csv文件: sudo powertop --csv=x.csv 输出html文件: sudo powertop --html=x.html c0~c7对应cpu7个状态,其中c0是全速工作,c1~c7对应不同程度的节 阅读全文
posted @ 2021-03-30 16:53 喝姜水涂风油精 阅读(167) 评论(0) 推荐(0) 编辑
摘要: $conda activate $conda deactivate 阅读全文
posted @ 2019-02-24 12:10 喝姜水涂风油精 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 综合上述两个帖子: https://www.cnblogs.com/huadongw/p/6161145.html https://blog.csdn.net/u011587516/article/details/78995186 先把之前安装的xgboost都卸载干净: pip uninstall 阅读全文
posted @ 2019-02-24 11:57 喝姜水涂风油精 阅读(1313) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Super_jm_/article/details/81947563 使用pip安装文件时候提示 ImportError: No module named setuptools 用一句命令就可以解决 sudo apt-get install python- 阅读全文
posted @ 2019-02-24 00:06 喝姜水涂风油精 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 转自https://blog.csdn.net/qq_37935670/article/details/80377196 2.显卡驱动配置 网上有些攻略非常非常复杂,又要禁用nouveau驱动,又要进入控制台,又要加载源什么什么的。发现高了半天,网卡驱动还是没装上去,系统重装了好几遍。 其实很简单, 阅读全文
posted @ 2019-02-23 21:14 喝姜水涂风油精 阅读(579) 评论(0) 推荐(0) 编辑
摘要: import torch torch中的squeeze与unsqueeze作用是去除/添加维度为1的行 例如,a=torch.randn(2,3) 那么b=a.unsqueeze(0),b为(1,2,3)的矩阵 类似的,b=a.unsqueeze(1),b为(2,1,3)的矩阵 b=a.unsque 阅读全文
posted @ 2019-02-14 16:42 喝姜水涂风油精 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 最简单的方法是使用一个字符串流(stringstream):#include<iostream>#include<string>#include<sstream>using namespace std;string itos(int i) // 将int 转换成string{ stringstrea 阅读全文
posted @ 2018-05-11 12:40 喝姜水涂风油精 阅读(1338) 评论(0) 推荐(0) 编辑
摘要: 1,如果查文章是不是被SCI检索:进入ISI Web of Knowledge,选择Web of Science 数据库,进行查询;2,如果查文章是不是被EI检索:进入EI Village, 选择Compendex 数据库,进行查询。 阅读全文
posted @ 2018-04-23 16:38 喝姜水涂风油精 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 终端输入:wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb sudo apt-get install gdebi sudo gdebi AdbeRdr9.5.5- 阅读全文
posted @ 2018-04-21 10:58 喝姜水涂风油精 阅读(121) 评论(0) 推荐(0) 编辑