摘要: pytorch的中文手册:https://github.com/zergtant/pytorch-handbook 一、定义/初始化张量Define tensors tensor,即“张量”。实际上跟numpy数组、向量、矩阵的格式基本一样。但是是专门针对GPU来设计的,可以运行在GPU上来加快计算 阅读全文
posted @ 2019-10-23 23:19 Ian_learning 阅读(1844) 评论(0) 推荐(0)
摘要: 模块cv2: https://www.cnblogs.com/shizhengwen/p/8719062.html opencv 的文档: https://docs.opencv.org/master/ 常用方法: 一、读入图像 使用函数cv2.imread(filepath,flags)读入一副图 阅读全文
posted @ 2019-10-23 22:52 Ian_learning 阅读(316) 评论(0) 推荐(0)
摘要: 使用范例: >money_computer.py -t future_each -y 30 -m 1460 -r 5In the 30.0 year, Future money is 97000.7173544Ex: years =2 . You cash is 1460.0 + (1460.0 * 阅读全文
posted @ 2019-09-24 21:40 Ian_learning 阅读(588) 评论(0) 推荐(0)
摘要: 1 >>> import pymysql 2 >>> conn=pymysql.connect(host='localhost',user='root',passwd='password',charset='utf8',port=3306) 3 #port一般都是3306,charset要写utf8 阅读全文
posted @ 2019-09-09 21:02 Ian_learning 阅读(229) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/wupeiqi/articles/5602773.html JavaScript 独立的语言,浏览器具有js解释器 JavaScript代码存在形式: - Head中 <script> //javascript代码 alert(123); </scri 阅读全文
posted @ 2019-08-22 22:23 Ian_learning 阅读(233) 评论(0) 推荐(0)
摘要: HTML 1、一套规则,浏览器认识的规则。 2、开发者: 学习Html规则 开发后台程序: - 写Html文件(充当模板的作用) ****** - 数据库获取数据,然后替换到html文件的指定位置(Web框架) 3、本地测试 - 找到文件路径,直接浏览器打开 - pycharm打开测试 4、编写Ht 阅读全文
posted @ 2019-07-22 20:11 Ian_learning 阅读(306) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/mrwxh/article/details/80387243 01 用conda创建python虚拟环境 02 安装TensorFlow 安装方法 问题 01 用conda创建python虚拟环境 02 安装TensorFlow 安装方法 问题 01 用c 阅读全文
posted @ 2019-06-01 23:23 Ian_learning 阅读(4445) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2018-12-17 19:42 Ian_learning 阅读(3) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/ankier/archive/2012/09/17/2689364.html wx.TextCtrl的构造函数 parent:父窗口部件 id:标识符。使用-1可以自动创建一个唯一的标识。 value:显示的内容 pos:一个wx.Point或一个Py 阅读全文
posted @ 2018-12-02 22:45 Ian_learning 阅读(975) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/morries123/p/8568666.html#undefined 一、python gui(图形化)模块介绍: Tkinter :是python最简单的图形化模块,总共只有14种组建 Pyqt :是python最复杂也是使用最广泛的图形化 Wx 阅读全文
posted @ 2018-11-29 21:37 Ian_learning 阅读(1111) 评论(0) 推荐(0)