2018年11月8日

TF目标检测API-Error: Argument must be a dense tensor: range(0, 3) - got shape [3], but wanted [].

摘要: 转自:https://blog.csdn.net/lovebyz/article/details/80668881 出错原因:知乎的大佬说是python3的兼容问题 解决办法:把research/object_detection/utils/learning_schedules.py文件的 第167 阅读全文

posted @ 2018-11-08 08:55 4c4853 阅读(316) 评论(0) 推荐(0) 编辑

2018年10月30日

python字符串使用

摘要: 1.python中的字符数字之间的转换函数 int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 complex(real [,imag ]) 创建一个复数 str(x ) 将对象 x 转换为字符串 re 阅读全文

posted @ 2018-10-30 21:30 4c4853 阅读(127) 评论(0) 推荐(0) 编辑

2018年10月26日

Ubuntu下几个命令

摘要: 1.删除文件或者目录 mkdir 文件夹 --/创建一个文件夹rmdir 空文件夹名 --/删除一个空文件夹rm 文件名 文件名 --/删除一个文件或多个文件rm -rf 非空文件夹名 --/删除一个非空文件夹下的一切 如果不能删除或者建立的话,可以使用sudo命令,如 sudo rm -rf 文件 阅读全文

posted @ 2018-10-26 21:20 4c4853 阅读(108) 评论(0) 推荐(0) 编辑

2018年10月17日

转::linux应用之gcc环境的安装

摘要: https://www.cnblogs.com/tankblog/p/6096681.html 阅读全文

posted @ 2018-10-17 07:57 4c4853 阅读(89) 评论(0) 推荐(0) 编辑

2018年10月16日

在ubuntu中搜索文件或文件夹的方法

摘要: 转自:https://blog.csdn.net/dcrmg/article/details/78000961 1. whereis+文件名 用于程序名的搜索,搜索结果只限于二进制文件(参数-b)、man说明文件(参数-m)和源代码文件(参数-s),如果省略参数,则返回所有信息。 2. find / 阅读全文

posted @ 2018-10-16 18:28 4c4853 阅读(203) 评论(0) 推荐(0) 编辑

Tensorflow目标检测API

摘要: https://cryer.github.io/2018/04/object_detection/ 阅读全文

posted @ 2018-10-16 09:24 4c4853 阅读(71) 评论(0) 推荐(0) 编辑

2018年10月15日

Numpy函数

摘要: https://blog.csdn.net/qq351469076/article/details/78817378 阅读全文

posted @ 2018-10-15 20:52 4c4853 阅读(84) 评论(0) 推荐(0) 编辑

2018年10月14日

python几个小用法

摘要: Python split()方法 语法 split() 方法语法: 参数 str -- 分隔符,默认为所有的空字符,包括空格、换行(\n)、制表符(\t)等。 num -- 分割次数。 实例 以下实例展示了split()函数的使用方法: 以上实例输出结果如下: Python List sort()方 阅读全文

posted @ 2018-10-14 15:45 4c4853 阅读(167) 评论(0) 推荐(0) 编辑

list assignment index out of range

摘要: 现象 m1=[]for i in xrange(n):m1[i]=1 报错:IndexError: list assignment index out of range 分析 空数组不能直接指定位置 解决方法1 m1.append(1) 解决方法2 先生成一个定长的list: m1=[0]*len( 阅读全文

posted @ 2018-10-14 09:00 4c4853 阅读(342) 评论(0) 推荐(0) 编辑

2018年10月13日

Python 中glob模块使用

摘要: 1.介绍glob模块用来查找文件目录和文件,常见的两个方法有glob.glob()和glob.iglob(),可以和常用的find功能进行类比,glob支持*?[]这三种通配符 2.三种通配符 *代表0个或多个字符?代表一个字符[]匹配指定范围内的字符,如[0-9]匹配数字 3.例子 output: 阅读全文

posted @ 2018-10-13 10:26 4c4853 阅读(281) 评论(0) 推荐(0) 编辑

导航