![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习
larry6799
西安电子科技大学
展开
-
[python脚本]批量杀死某个用户跑在GPU上的所有进程
1. 代码import argparseimport osimport timeparser = argparse.ArgumentParser()parser.add_argument('--user', type=str, default='zhangr', help='killed process who run on the server')args = parser.parse_args()def get_exec_out(sxcute_str): out_list原创 2020-11-07 13:32:59 · 647 阅读 · 0 评论 -
python脚本批量杀死占用GPU的所有进程/所有正在cuda上运行的程序
import osimport timedef get_exec_out(sxcute_str): out_list = os.popen(sxcute_str).readlines() return out_listif __name__ == '__main__': excute_str = 'nvidia-smi' out_list = get_exec_out(excute_str) # print(out_list) for oo i.原创 2020-11-07 12:20:06 · 1529 阅读 · 0 评论 -
ncnn 过模型提取图片人脸特征 存入 csv文件
#include <iostream>#include <fstream>#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <algorithm>#include <vector>#include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.h.原创 2020-09-29 20:51:50 · 646 阅读 · 0 评论 -
ncnn仅使用opencv实现人脸检测和人脸特征提取
人脸检测基于opencv-CascadeClassifier, 特征提取使用的是自己insightface的mxnet转化为ncnn的模型。,cpp 文件:#include <iostream>#include <fstream>#include <stdio.h>#include <algorithm>#include <vector>#include <time.h>#include <opencv2/c原创 2020-09-29 20:41:38 · 2235 阅读 · 2 评论 -
Shell脚本批量杀死连续pid的进程
1. 使用范围适合杀死(kill)连续的 进程号(pid)2. 脚本代码(kill_namy,sh)#!/bin/bashdeclare -a port# echo $1# echo $2for ((i=$1;i<=$2;i++))do port[$i]=$i kill -9 ${port[$i]} echo " kill ${port[$i]} ..."done3. 运行命令source kill_many.sh [原创 2020-08-05 17:27:23 · 1358 阅读 · 1 评论 -
Labeled Faces in the Wild: Updates and New Reporting Procedures
LFW:更新和新的报告程序摘要 自然条件下标记的人脸(LFW)数据库在无约束人脸验证等相关问题上的研究具有重要意义。虽然在描述数据库的原始技术报告中制定了谨慎的使用指南,但也出现了一些无法预料的问题。其中一个主要问题是如何在使用额外“外部数据”(即不属于LFW的数据)进行训练的算法之间进行公平比较。另一个问题是**需要对“无监督范式”有一个明确的定义,以及在这种范式下产生结果的适当协议。**本技术报告详细讨论了这些问题,并提供了一个新的描述,说明我们如何管理结果,以及我们如何根据算法使用的训练数据的详原创 2020-06-24 17:36:51 · 381 阅读 · 0 评论 -
megaface 数据集组成,介绍,Identification/Verification逻辑
下载的megaface测试数据集megaface测试数据集和devkit,下载的文件有:①MegaFace Dataset(65GB),即Gallery dataset,或Distractors②FaceScrub full tgz —16.4 GB,即probe(我选的是原始图片,即uncropped)③Linux Development Kit (.zip) (.tar.gz) —16 MB,python程序,给定特征文件,用来计算测试结果的MegaFace数据集 组成和介绍干扰样本集,原创 2020-06-13 12:52:34 · 4164 阅读 · 7 评论