自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(26)
  • 收藏
  • 关注

原创 Git 相关

一、Git 常用命令设置用户签名git config --global user.name 用户名git config --global user.email 邮箱初始化本地库 git init查看本地库状态 git status添加暂存区 git add 文件名提交本地库 git commit -m “日志信息” 文件名查看历史版本 git reflog、 git log版本穿梭 git reset --hard 版本简略号二、Git 分支操作创建分支 git branch 分

2023-09-09 16:26:50 50

原创 Markdown用法

Markdown基本语法

2023-08-30 00:08:03 46

原创 jupyter-lab

会显示出jupyter lab的配置文件位置,此时找到工作目录位置,改到自己想存储的位置即可。c.ServerApp.root_dir,记得把前面的“#”却掉。jupyter lab 默认的工作目录是安装位置,如果想更改到其他盘,则在终端使用命令:jupyter lab --generate-config。

2023-04-28 13:07:50 107

原创 数据增强-随机旋转

目标检测中对图像进行随机旋转的时候,要考虑到bbox坐标的改变网上查资料发现都是一头雾水,自己亲自写了一套易于理解的以上就是今天要讲的内容,本文仅仅简单介绍了目标检测数据增强之随机旋转的使用。

2022-10-21 00:18:06 544 2

原创 OpenCv-Python基础知识

提示:这里对文章进行总结:例如:以上就是今天要讲的内容,本文仅仅简单介绍了pandas的使用,而pandas提供了大量能使我们快速便捷地处理数据的函数和方法。

2022-09-13 21:57:35 1306

原创 在python中找不到引用‘imread‘in’__init__.py‘?

解决cv2.imread 找不到引用cv2不提示相关的函数。

2022-09-13 13:15:16 10384 8

转载 Python高级函数

关于python高级函数的相关介绍

2022-09-11 22:32:19 247

原创 Pandas基础知识

简单介绍了pandas的使用

2022-09-11 15:31:59 332

原创 matplotlib.pyplot 快速上手

本文仅仅简单介绍了matplot.pyplot的使用。

2022-09-10 22:09:12 150

转载 Python初学者常见问题二

本文仅仅简单介绍了python工作路径问题

2022-09-08 23:35:31 173

转载 Python初学者常见问题一

本文仅仅简单介绍了python安装位置相关问题

2022-09-08 19:37:12 201

原创 NumPy基础知识

NumPy基础用法

2022-09-06 21:35:13 438

原创 pip常用命令

对pip常用命令进行汇总,以便大家使用

2022-09-06 01:15:50 8415

原创 Markdown基本语法

Markdown常见的语法,其实官方文档都有,结合着看吧

2022-09-06 00:09:32 176

原创 conda常用命令汇总

conda常用命令,可以帮助大家更好的管理自己的conda环境

2022-09-05 15:42:24 1616

原创 NMS非极大值抑制代码实现

NMS非极大值抑制代码实现

2022-08-22 17:00:23 665

原创 卷积计算代码实现

卷积代码

2022-08-05 12:47:35 385

原创 Ubuntu20.4 Pycharm无法输入中文解决办法

搜索相关话题让改.sh的环境配置的很多,但是都费时费力还不好使。在一篇文章的评论下方找到了最佳解决办法,来自用户—Leticiax原评论:“我在一篇已经被删除的提问里找到了…IntelliJ IDEA无法输入中文ubuntu 20.04 Intelligent Pinyin 1.11.1 IntelliJ IDEA 2020.2.2(Ultimate Edition) 当全拼输入2~3个汉字时,会被强行打断,然后就无法继续输入(也无法切换中英文),并且汉字下会有下划线。该提问来源于开源项目:lib

2021-11-17 10:08:31 631 2

原创 计数排序_Python

def count_sort(array): max_value = array[0] for i in array: if i > max_value: max_value = i count_array = [0] * (max_value + 1) for i in array: count_array[i] += 1 array.clear() for i in range(len(coun

2021-11-17 00:20:59 583

原创 堆排序_Python

def heap_sort(array): # 创建大顶二差堆 从最后一个非叶子节点(i=(length-1-1)//2) 开始到根节点(i=0) for i in range((len(array) - 2) // 2, -1, -1): down_adjust(i, len(array), array) # 循环删除堆顶元素,替换到二插堆的末尾,调整堆产生新的堆顶 for i in range(len(array) - 1, 0, -1):

2021-11-17 00:19:09 719

原创 归并排序_Python

def merge_sort(array): if len(array) == 1: return array middle_index = len(array) // 2 left = merge_sort(array[:middle_index]) right = merge_sort(array[middle_index:]) return merge_comb(left, right)def merge_comb(left, right)

2021-11-17 00:17:25 538

原创 快速排序_Python

def quick_sort(start_index, end_index, array): if start_index >= end_index: return pivot_index = partition(start_index, end_index, array) quick_sort(start_index, pivot_index - 1, array) quick_sort(pivot_index + 1, end_index, arra

2021-11-16 23:59:04 55

原创 希尔排序_Python

def shell_sort(array): gap = len(array) // 2 while gap > 0: for i in range(gap, len(array)): temp = array[i] j = i - gap while j >= 0: if temp < array[j]: arra

2021-11-16 23:46:46 209

原创 插入排序_Python

def insertion_sort(array): for i in range(1, len(array)): temp = array[i] j = i - 1 while j >= 0: if temp < array[j]: array[j + 1] = array[j] array[j] = temp j -=

2021-11-16 23:32:56 55

原创 选择排序_Python

def selection_sort(array): for i in range(len(array) - 1): min_index = i for j in range(i + 1, len(array)): if array[j] < array[min_index]: min_index = j if min_index != i: array[i], ar

2021-11-16 23:23:30 51

原创 冒泡排序_Python

def bubble_sort(array): for i in range(len(array) - 1): is_sorted = True for j in range(len(array) - 1 - i): if array[j] > array[j + 1]: temp = array[j] array[j] = array[j + 1]

2021-11-16 23:07:16 219

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除