摘要: 迫于mbp太沉了。想通过ipad利用ssh登录到mac上的shell,进行写代码。 首先在你的mac上的系统偏好性设置中打开共享,把远程登录勾上。右边的框框里会出现的ssh地址,这样就打开了ssh和ftp的服务。 然后在你的pad上下载termius,新建一个host,alias就填你登录的账号名, 阅读全文
posted @ 2018-04-12 16:45 梁俊鹏 阅读(1136) 评论(0) 推荐(0)
摘要: 可能是跑到经管学部太久了,没跟着原先学软件工程的圈子混,好多东西都忘了。 记一次脑残错误。图像处理用的数据类型是uint8,在神经网络的训练中经常都是以float32数据类型的,记得在将训练完的float32的三维数组还原成图像前,用强制类型转换一下,np.asarray(image, dtype= 阅读全文
posted @ 2018-03-20 15:04 梁俊鹏 阅读(224) 评论(0) 推荐(0)
摘要: 跟着网上一大堆教程做了好久,我发现了一个很严肃的问题,几乎都是一个模板,也不思考为什么要这么做。报错了都直接百度下一个问题。运气好就很快配成功了,运气不好就配不成功。虽然大致流程都差不多,有一些关键问题需要注意 Attention:cuda版本和cuDNN版本问题的确定,首先把你的显卡驱动更新到最新 阅读全文
posted @ 2018-03-19 10:45 梁俊鹏 阅读(3677) 评论(0) 推荐(0)
摘要: 首先下好压缩包。我用的是tar.gz 然后在/usr下解压,用mv或rename修改下文件夹名字,省得名字太长,然后再配置环境变量。 so easy. 然而, 接下来你肯定会用 source /etc/profile 编译一下环境变量。 可能出现问题1:source命令找不到,解决方法:用 sudo 阅读全文
posted @ 2016-12-31 22:06 梁俊鹏 阅读(284) 评论(0) 推荐(0)
摘要: 很多朋友在写java的程序的时候都喜欢用第三方的jar包和框架,有可能遇到jar包中的内容已经跟不上官方开发者文档的更新,导致部分内容出错了,这个时候可能就要放弃这个jar的使用,但是这个jar中的其他的东西都很好,这个时候我们应该怎么办呢。 首先,肯定是利用jd_gui.exe去解压jar包,然后 阅读全文
posted @ 2016-05-19 12:41 梁俊鹏 阅读(613) 评论(0) 推荐(0)
摘要: First: a. first draw the control flow graph, and we use the online tool (processon) to draw it. here is the result: b. there are two test case t1=(n=3 阅读全文
posted @ 2016-03-27 12:06 梁俊鹏 阅读(495) 评论(0) 推荐(0)
摘要: first set up a new folder as your test class place, and then let your package in test class folder be the same name with your src folder. in the packa 阅读全文
posted @ 2016-03-18 11:27 梁俊鹏 阅读(221) 评论(0) 推荐(0)
摘要: Program1: The fault is : for(int i=x.length-1;i>0;i--) border question We should change i>0 into i>=0 identify a test case that does not execute the f 阅读全文
posted @ 2016-03-05 11:10 梁俊鹏 阅读(250) 评论(0) 推荐(0)
摘要: 关于这个在eclipse中运行java程序的错,首先确认你的jdk,jre是否完整,并且与你的eclipse的位数相同,当然我相信这个错误大家应该都会去检查到。 第二个关于addDimensionedImage的配置这个在 如果你出现前段时间可以运行程序,但是好久没用,突然出现usage这个错误的情 阅读全文
posted @ 2016-03-05 09:56 梁俊鹏 阅读(2817) 评论(0) 推荐(0)
摘要: Last summer vacation, a classmate contacted with me and we finished a intelligent car project with indoor logistic system. One member of team is in ch 阅读全文
posted @ 2016-03-03 22:35 梁俊鹏 阅读(143) 评论(0) 推荐(0)