发布时间:2022-08-02 17:18:58
if __name__ == '__main__':""" opt模型主要参数解析: --weights:初始化的权重文件的路径地址 --cfg:模型yaml文件的路径地址 --data:数据yaml文件的路径地址 --hyp:.........【阅读全文】
发布时间:2022-07-29 17:15:56
def login(request):#登录 return render(request, 'login.html')def student_register(request): # 学生注册 name = request.POST.get("student_name") # 获取学生输入的姓名 id = request.POST.get("student_id") &.........【阅读全文】
发布时间:2022-07-28 17:23:39
# %%import cv2 as cv import numpy as npimport imutilsimport osfrom PIL import Image# %%face_cascade = cv.CascadeClassifier('haarcascade_frontalface_default.xml')VIDEO_PATH = 'video/hero2.mp4'face_id = 2#sampleNum用来计数样本数目count = 0SAVE_PATH = '.........【阅读全文】
发布时间:2022-07-27 17:35:09
import numpy as npfrom layers import FCLayerfrom dataloader import build_dataloaderfrom network import Networkfrom optimizer import SGDfrom loss import SoftmaxCrossEntropyLossfrom visualize import plot_loss_and_accclass Solver(object): def __i.........【阅读全文】
发布时间:2022-07-21 17:13:21
#!/usr/bin/env python# -*- coding: utf-8 -*-import rospyimport cv2import numpy as npfrom sensor_msgs.msg import Image, RegionOfInterestfrom cv_bridge import CvBridge, CvBridgeErrorclass faceDetector: def __init__(self): &n.........【阅读全文】