摘要: 本地是Windows系统: 1. 安装openssh 1)通过windows的Powershell来安装: 以管理员身份运行window Powershell(windows键+x,然后选(A)),然后键入如下两条命令: 第一条命令: Get-WindowsCapability -Online | 阅读全文
posted @ 2021-04-04 16:47 爱学英语的程序媛 阅读(432) 评论(1) 推荐(0) 编辑
摘要: 69. x 的平方根 class Solution { public: int mySqrt(int x) { if (x == 0) return 0; //特殊判断:0的平方根是0 //0: 0; 1: 1; 2: 1; 3: 1 //除上述4个数字外,其余数字x的平方根必小于等于其一半,即x/ 阅读全文
posted @ 2020-09-28 21:44 爱学英语的程序媛 阅读(104) 评论(0) 推荐(0) 编辑
摘要: git remote rm origin git remote add origin 仓库地址.git fatal: 远程 origin 已经存在。 此时只需要将远程配置删除,重新添加即可。 1. 首先在Github上新建一个repository 2. 进入本地项目:cs231n-assignmen 阅读全文
posted @ 2020-06-21 19:59 爱学英语的程序媛 阅读(147) 评论(0) 推荐(0) 编辑
摘要: git clone https://github.com/BradLarson/GPUImage 先git clone 下这个库: 可以看到拉下来的代码里有一些examples:选择Mac文件夹里的SimplePhotoFilter文件夹里的SimplePhotoFilter.xcodeproj 打 阅读全文
posted @ 2020-06-01 14:48 爱学英语的程序媛 阅读(198) 评论(0) 推荐(0) 编辑
摘要: https://www.filezilla.cn/download/client filezilla 推荐一个使用感还可以的可视化,可以和服务器传输文件的客户端。 阅读全文
posted @ 2020-05-30 21:47 爱学英语的程序媛 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 代码是8通道Mat的使用方法。 typedef cv::Vec<float, 8> Vec8f; E2 = cv::Mat::zeros(srcImage.rows, srcImage.cols, CV_32FC(8));//背景 E(0)值 //CV_32FC3 std::cout << "cha 阅读全文
posted @ 2020-05-21 11:52 爱学英语的程序媛 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 调整静态库 othrt linker 的链接顺序,改为 -lopencv_highgui -lopencv_imgproc -lopencv_core 阅读全文
posted @ 2020-05-19 19:31 爱学英语的程序媛 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 解决使用xcode运行他人项目出现账户错误的问题: 阅读全文
posted @ 2020-04-29 11:26 爱学英语的程序媛 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 比如,我想下载链接为下方的数据集: ftp://sidd_user:sidd_2018@130.63.97.225/SIDD_Small_Raw_Only.zip 直接在网址里打开是下不了的,必须使用下载FTP的软件,或者mac中在访达->前往->连接服务器连接到这个ftp(我试过了,虽然能连接上, 阅读全文
posted @ 2020-04-13 19:44 爱学英语的程序媛 阅读(1816) 评论(0) 推荐(0) 编辑
摘要: conda deactivate py3.6 1. 类似于安装 tensorflow,先创建一个名字叫pytorch3.6的虚拟环境 conda create -n py3.6 python=3.6 打开 pytorch.org 官网,可以选择安装器,Python版本,CUDA 版本。 例如 Mac 阅读全文
posted @ 2020-03-31 19:44 爱学英语的程序媛 阅读(1100) 评论(0) 推荐(0) 编辑