
python
m0_50888396
这个作者很懒,什么都没留下…
展开
-
PYTHON 求数组的二阶导
求二阶导是对一阶导数进行求导,分母不变。原创 2023-10-16 15:08:22 · 477 阅读 · 1 评论 -
plt.画图去除白色边框
matplotlib去除白色边框原创 2023-02-22 09:52:27 · 813 阅读 · 0 评论 -
labelme2coco 使用方法
labelme2coco 使用方法原创 2022-12-17 16:00:37 · 1913 阅读 · 1 评论 -
PYTHON 批量修改图像旋转90度
PYTHON 批量修改图像旋转90度原创 2022-12-04 21:39:04 · 706 阅读 · 0 评论 -
rename原版+改进版
python 批量改名字原创 2022-12-04 11:19:29 · 126 阅读 · 0 评论 -
数据集划分 train val
数据集划分原创 2022-10-19 13:23:32 · 370 阅读 · 0 评论 -
labelme2voc、labelme2coco在运行时报错assert class_name == “__ignore__“
labelme2voc、labelme2coco在运行时报错assert class_name == "__ignore__"原创 2022-10-18 22:25:04 · 1814 阅读 · 1 评论 -
Python绘制三维图,将点连成线
from mpl_toolkits.mplot3d import axes3dimport matplotlib.pyplot as plt# 打开画图窗口1,在三维空间中绘图fig = plt.figure(1)ax = fig.gca(projection='3d')# 给出点(0,0,0)和(100,200,300)x = [ 72, 37, 16, 10]y = [ -12, -30, 18, -45]z = [ -5, -3, -9, -7].原创 2022-04-04 19:37:27 · 6417 阅读 · 0 评论 -
python.input报错TypeError: must be real number, not str
在输入数据时: 输入数字,对公式进行计算。而普通的输入数据:xxx=input("please enter the data xxx: ")报错TypeError: must be real number, not str更改:xxx = float(input("please enter the data xxx: "))原创 2022-02-16 09:25:40 · 5332 阅读 · 0 评论 -
python绘制三维向量
import numpy as npimport matplotlib.pyplot as pltfrom mpl_toolkits.mplot3d import Axes3Dfig = plt.figure()#创建3D坐标系ax = fig.gca(projection='3d')#画起点为(100,-100,200),终点为(500, 600, 700)的向量ax.quiver(100,-100,200,500, 600, 700,arrow_length_ratio=0.1).原创 2022-02-12 10:48:01 · 6579 阅读 · 3 评论