上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 79 下一页
摘要: vi /etc/profile 文件最后输入export PATH=$PATH:/usr/abc/def/ 保存 输入source /etc/profile刷新刚刚修改过的环境变量文件 阅读全文
posted @ 2018-07-11 15:27 Dsp Tian 阅读(1953) 评论(0) 推荐(2)
摘要: grep 'name' -r / 阅读全文
posted @ 2018-07-09 16:36 Dsp Tian 阅读(488) 评论(0) 推荐(0)
摘要: https://devtalk.nvidia.com/default/topic/1027209/cuda-setup-and-installation/cuda-9-0-does-not-work-with-the-latest-vs-2017-update/ 阅读全文
posted @ 2018-07-04 22:29 Dsp Tian 阅读(1219) 评论(0) 推荐(0)
摘要: 如果安装ffmpeg后发现找不到ffmpeg相关的so,可以试试export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig 阅读全文
posted @ 2018-06-27 15:03 Dsp Tian 阅读(385) 评论(0) 推荐(0)
摘要: #include #include #include #include using namespace std; void test(int a,int b) { for (size_t i = 0; i vT; for (size_t i = 0; i < 10; i++) vT.push_back(thread(test, i,i+100)); ... 阅读全文
posted @ 2018-05-19 10:18 Dsp Tian 阅读(492) 评论(0) 推荐(0)
摘要: 大概能快个100毫秒左右。 阅读全文
posted @ 2018-05-17 11:48 Dsp Tian 阅读(1672) 评论(0) 推荐(0)
摘要: 记得上次练习了神经网络分类,不过当时应该有些地方写的还是不对。 这次用神经网络识别mnist手写数据集,主要参考了深度学习工具包的一些代码。 mnist数据集训练数据一共有28*28*60000个像素,标签有60000个。 测试数据一共有28*28*10000个,标签10000个。 这里神经网络输入 阅读全文
posted @ 2018-05-15 22:16 Dsp Tian 阅读(6550) 评论(3) 推荐(0)
摘要: 将初始化代码中 Environment::createEnvironment(Environment::DEFAULT); 改为 Environment::createEnvironment(“UTF8”,“UTF8”); 阅读全文
posted @ 2018-05-09 17:35 Dsp Tian 阅读(823) 评论(0) 推荐(0)
摘要: #include #include #include #include #include using namespace std; int main() { HWND hd = GetDesktopWindow(); //得到桌面窗口 hd = GetWindow(hd, GW_CHILD); //得到屏幕上第一个子窗口 char ... 阅读全文
posted @ 2018-05-09 09:02 Dsp Tian 阅读(1590) 评论(0) 推荐(0)
摘要: from pymouse import PyMouse m = PyMouse() a = m.position() #获取当前坐标的位置 print(a) m.move(50, 500) #鼠标移动到(x,y)位置 a = m.position() print(a) m.click(50, 50) 阅读全文
posted @ 2018-04-26 20:45 Dsp Tian 阅读(9367) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 79 下一页