摘要: 使用 k-means 聚类 anchorbox 数据 阅读全文
posted @ 2021-01-08 19:57 yx啦啦啦 阅读(5173) 评论(1) 推荐(0) 编辑
摘要: 将 json 标注文件转化为 YOLO 所需要的 txt 数据格式 阅读全文
posted @ 2021-01-08 14:19 yx啦啦啦 阅读(11417) 评论(0) 推荐(1) 编辑
摘要: yolov5输出 json 格式的预测文件 阅读全文
posted @ 2021-01-08 11:08 yx啦啦啦 阅读(11169) 评论(1) 推荐(0) 编辑
摘要: 每 2 秒监听一次:watch -n 2 nvidia-smi 阅读全文
posted @ 2020-12-25 15:14 yx啦啦啦 阅读(2804) 评论(0) 推荐(0) 编辑
摘要: rz 上传文件至 Linux 会限制文件大小不能超过4G 没法子,只能选用 scp 进行文件传输 1、cd 至文件目录 2、scp -P ddd test.zip username@ip_address:/home/username ddd:端口号 username:账号用户名 ip_address 阅读全文
posted @ 2020-12-25 15:09 yx啦啦啦 阅读(3349) 评论(0) 推荐(0) 编辑
摘要: 一 基础命令: 1、创建/删除文件夹:mkdir / rmdir fileName 2、创建文件:touch file.txt 3、查看文件:cat file.txt 4、编辑文件:vi file.txt 5、文件重命名:mv a.txt b.txt 6、查看当前路径:pwd 7、xshell 中上 阅读全文
posted @ 2020-12-23 15:28 yx啦啦啦 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 修改 matplotlibrc 文件 路径:anaconda3\Lib\site-packages\matplotlib\mpl-data\matplotlibrc backend : Agg =》 backend : TkAgg 阅读全文
posted @ 2020-12-14 16:48 yx啦啦啦 阅读(3939) 评论(0) 推荐(0) 编辑
摘要: 环境 anaconda3 + python 3.6 库支持 PyQt5 、pyqt5_tools、lxml (pip install PyQt5 ) 下载源码 labelImg :https://github.com/tzutalin/labelImg 编译源码 1、进入源码的指定文件目录(cd C 阅读全文
posted @ 2020-11-30 21:16 yx啦啦啦 阅读(1341) 评论(0) 推荐(0) 编辑
摘要: import numpy as np # 初始化二维数组 a = np.random.randn(4, 3) # 数组普通相加,默认 axis=0 b = np.sum(a) # 按行相加,不保持其二维特性 c = np.sum(a, axis=1) # 按行相加,并且保持其二维特性 d = np. 阅读全文
posted @ 2020-09-22 10:38 yx啦啦啦 阅读(2130) 评论(0) 推荐(0) 编辑
摘要: # 引入 pymysql import pymysql as mysql def main(): # 连接数据库 db = mysql.connect(host='localhost', user='root', password='', db='test', charset='utf8') # 创 阅读全文
posted @ 2020-08-17 11:43 yx啦啦啦 阅读(121) 评论(0) 推荐(0) 编辑
……