码迷,mamicode.com
首页 >  
搜索关键字:isa    ( 2690个结果
Django组件之分页器
Django组件之分页器 分页器的使用 book_list=Book.objects.all() paginator = Paginator(book_list, 10) print("count:",paginator.count) #数据总数 print("num_pages",paginato ...
分类:其他好文   时间:2020-05-29 23:11:52    阅读次数:72
OS模块
常见命令 os.getcwd() 获取当前工作目录,即当前python脚本工作的目录路径 os.chdir("dirname") 改变当前脚本工作目录;相当于shell下cd os.curdir 返回当前目录: ('.') os.pardir 获取当前目录的父目录字符串名:('..') os.mak ...
分类:其他好文   时间:2020-05-29 21:25:41    阅读次数:71
TensorFlow函数 tf.argmax()
参数: input:输入数据 dimension:按某维度查找。 dimension=0:按列查找; dimension=1:按行查找; 返回: 最大值的下标 import tensorflow.compat.v1 as tf tf.disable_v2_behavior() a = tf.cons ...
分类:其他好文   时间:2020-05-28 20:02:54    阅读次数:89
改网卡名centos7、8,恢复传统的网卡命名eth0
#vim /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true G ...
分类:其他好文   时间:2020-05-28 19:30:02    阅读次数:116
少标签数据学习:宾夕法尼亚大学Learning with Few Labeled Data
Few-shot image classification Three regimes of image classification Problem formulation Training set consists of labeled samples from lots of “tasks”, ...
分类:其他好文   时间:2020-05-27 12:09:24    阅读次数:85
CentOS7.* 查询开机启动项
使用 systemctl list-unit-files 可以查看启动项 左边是服务名称,右边是状态,enabled是开机启动,disabled是开机不启动 过滤查询可以systemctl list-unit-files | grep enabled 过滤查看启动项如下 过滤查询可以systemct ...
分类:其他好文   时间:2020-05-27 11:48:15    阅读次数:98
纯css radio button样式
<div class="inRadio RadioStyle"> <input type="radio" checked onclick="editWareHouseIt(this)" id="editOrInsHouse01" name="editOrInsHouse" value="01"> < ...
分类:Web程序   时间:2020-05-25 13:57:49    阅读次数:170
andorid jar/库源码解析之apktool.jar
目录:andorid jar/库源码解析 Apktool.jar: 作用: 1、用于对APK文件进行解包,成可以读的smali和xml,png等资源文件。 2、同时,把解码之后的数据,重新打包成APK文件。 栗子: 使用命令的方式使用 1、apktool d xxx.apk // 解码 apk文件 ...
分类:编程语言   时间:2020-05-24 13:37:13    阅读次数:58
Selenium-ChromeOptions
1.ChromeOptions是什么? 是Chrome参数对象,是配置Chrome启动时属性的类。通过以下参数可以为Chrome添加启动参数。 参数携带过程:启动参数在初始化webdriver对象时传入option,实现按特定参数启动。 2.ChromeOptions启动参数 具体参考:https: ...
分类:其他好文   时间:2020-05-24 09:57:45    阅读次数:59
索引相关
1. 索引相关 二叉树:容易退化成链表 红黑树:数据量大是,高度过大,导致磁盘IO增加 B树 B+树 2. MyISAM 用B+树 ...
分类:其他好文   时间:2020-05-22 19:51:33    阅读次数:37
2690条   上一页 1 ... 15 16 17 18 19 ... 269 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!