
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
c++ 维护一个进位变量,速度还可以链表的东西,有点忘了class Solution {public:ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {ListNode *ans = new ListNode(-1);ListNode *cursor = ans;int t = 0;while (l1 != nullptr || l2 !=
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
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
在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":
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
效果图和解释看我 c++版本import cv2import numpy as npimport mathimport osdef show(name, img):# 显示图片cv2.namedWindow(str(name), cv2.WINDOW_NORMAL)cv2.resizeWindow(str(name), 800, 2000)# 改变窗口大小cv2.imshow(str(name),