logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

FLIR Thermal Starter 数据集详解 json详解

该数据集提供了带注释的热成像数据集和对应的无注释RGB图像,用于训练和验证神经网络。数据集总共包含14452张红外图像,其中10228张来自多个短视频;4224张来自一个长为144s的视频。所有视频都来自街道和高速路。大多数图片的采样率为1秒两帧,其中视频的帧率为1秒30帧;少数环境中目标较少时,采样率为1秒1帧。train文件夹文件名注释Annotated_thermal_8_bit带标注框的红

sklearn中预测模型的score函数

sklearn.linear_model.LinearRegression.score方法:score(self, X, y, sample_weight=None)官方描述:Returns the coefficient of determination R^2 of the prediction.The coefficient R^2 is defined as (1 - u/v), ...

deepseek+AutoGen+ollama构建Agent

使用ollama本地部署deepseek-r1:1.5b。本地访问127.0.0.1:7860,访问成功。

文章图片
#python
多元线性回归 python实现

import numpy as np#多元线性回归x=np.matrix([[2104,1416,1534,852,1],[5,3,3,2,1],[1,2,2,1,1],[45,40,30,36,1]])y=np.matrix([460,232,315,178])y1=np.matrix([460],[232].[315],[178])w=(x.T*x).I*x.T*yw1=(x.T*x).I*x

#numpy
labelImg 标注的xml文件转换为yolov5所需要的txt文件

import xml.etree.ElementTree as ETimport pickleimport osfrom os import listdir, getcwdfrom os.path import join# classes = ['hard_hat', 'other', 'regular', 'long_hair', 'braid', 'bald', 'beard']def con

#xml#python#深度学习
yolov5只检测单一类别或者特定的类

在detect.py中170行if save_img or save_crop or view_img:# Add bbox to imagec = int(cls)# integer class# FIXME:if names[int(cls)] == "name_sign":

#python#深度学习
python深度学习环境创建

1.conda创建虚拟环境conda create -n phot37 python=3.7phot37是环境名2. 安装opencv-python选择的版本是4.2.0,从网上查opencv有哪些版本,选择4.2.0.34,选择豆瓣源,豆瓣源还是挺快的pip install opencv-python -i https://pypi.douban.com/simple3.安装pytorch去py

#python#深度学习#pytorch
到底了