- 博客(6)
- 收藏
- 关注
原创 Windows下安装LabelImg与Lableme以及使用
pip install PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/(后面这行是国内的清华镜像源,下载速度才会比较快)pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple/pip install lxml -i https://pypi.tuna.tsinghua.edu.cn/simple/pip install labelImg -i https://py
2020-05-18 21:50:55
368
原创 windows与ubuntu双系统下Ubuntu系统扩容
1.首先进入windows系统分出一块磁盘空间,用作Ubuntu系统的扩容空间。具体操作如下: 这是win7下的操作:https://support.microsoft.com/zh-cn/help/944248 这是win10下的操作:https://jingyan.baidu.com/article/19192ad8ddecc6e...
2019-08-08 09:41:10
714
原创 ROS学习之话题发布python实现
1.创建工作空间并创建话题通信的功能包mkdir -p ~/topic_ws/src #递归创建目录,后面的名字必须是srccd ~/topic_ws #进入tocpic_ws目录catkin_make echo 'source ~/topic_ws/devel/setup.bash'>>~/.bas...
2019-05-16 15:31:07
4371
原创 解决ubuntu16.04 you are using pip version 8.1.1,however version 9.0.1 is available问题
解决ubuntu16.04 you are using pip version 8.1.1,however version 9.0.1 is available问题使用wget安装成功,具体如下1. sudo apt-get update2. sudo apt-get upgrade3. wget https://bootstrap.pypa.io/get-pip.py4....
2019-04-28 10:52:23
397
原创 argsort()函数,sort()函数,sorted()函数,split()函数
argsort函数是numpy库里面的函数,用于列表的排序,返回值是列表的索引,从小到大排列。>>> import numpy as np>>> a=np.array([2,3,1,5,4])>>> #有两种写法,如下>>> a.argsort()array([2, 0, 1, 4, 3], dtype=int64)...
2018-07-12 21:15:20
320
原创 KNN(K-紧邻)算法——用到的一些函数tile(),sum(),argsort(),get(),sorted(),itemgetter()
numpy中的tile()函数,numpy.tile()例子>>> import numpy as np>>> np.tile([0,0],4)#在列方向上重复[0,0]4次array([0, 0, 0, 0, 0, 0, 0, 0])>>> np.tile([0,0],(2,3))#在行方向重复[0,0] 2次,在在列方向上重复[0,0...
2018-06-30 14:08:06
370
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人