摘要: 博客目录blog 每类下的博客基本按照时间顺序整理。有3个#的博客是用Markdown写的,其它的基本是使用windows live writer完成的。(后面用Markdown写的也没加#, 因为觉得没必要区分了,反正后面都是Markdown了) 1. 事件检测 && 目录跟踪###《Video Event Detection by Inferring Temporal Instance ... 阅读全文
posted @ 2015-09-01 10:32 bairuiworld 阅读(245) 评论(0) 推荐(0) 编辑
摘要: image quality assement 一、Face QA 1. SER-FIQ (2020 CVPR): 《SER-FIQ: Unsupervised Estimation of Face Image Quality Based on Stochastic Embedding Robustn 阅读全文
posted @ 2022-04-07 11:40 bairuiworld 阅读(1407) 评论(0) 推荐(0) 编辑
摘要: BMPBMP文件: bmp文件主要包含4个部分,分别为文件头,信息头,调色板(大多数没有),图像数据。 一、文件头 文件头描述了该文件的信息,定义如下: #pragma pack (push, 1) struct _file_header { unsigned short fileType; uns 阅读全文
posted @ 2022-01-07 14:04 bairuiworld 阅读(683) 评论(0) 推荐(0) 编辑
摘要: cv2.reisze, interpolate采样比较torchresize, unsample, interpolate 本文比较cv2.reisze, PIL.Image.resize, torch.nn.functional.interpolate, mxnet torch interpola 阅读全文
posted @ 2022-01-07 13:45 bairuiworld 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: torch内置模型 使用 打印支持的模型: print(dir(torchvision.models)) 下载模型,加上pretrained=True参数,会自动下载预训练好的模型: resnet18 = models.resnet18(pretrained=True) Downloading: " 阅读全文
posted @ 2022-01-07 11:53 bairuiworld 阅读(307) 评论(0) 推荐(0) 编辑
摘要: torch与onnx转换 一、pytorch转onnx pytorch官方已经提供了支持。 import torch dummy_input = torch.randn(1, 3, 480, 640) torch.onnx.export(model, dummy_input, 'net_640x48 阅读全文
posted @ 2022-01-07 11:20 bairuiworld 阅读(2172) 评论(0) 推荐(0) 编辑
摘要: git lfsgit lfs 一、Introductiongit lfs可以处理仓库的大文件,把文件替换一个描述文件:version https://git-lfs.github.com/spec/v1oid sha256:4b641d1922fdc4d881e8ab37a11c9e4c20e4ed30795728dbe7801c6940e7fe13size 16270720这样可以减少仓库的... 阅读全文
posted @ 2020-09-23 17:07 bairuiworld 阅读(735) 评论(0) 推荐(0) 编辑
摘要: SUIDLINUX 1. 从passwd说起普通用户可以使用passwd命令来修改自己的密码,但大家都知道修改密码需要保存到/etc/shadow文件中,但从shadow文件中可以看到只有root用户可写,那么普通用户是如何修改这个文件的呢?ls -l /etc/shadow-rw-r----- 1 root shadow 1404 Nov 7 2019 /etc/shadow我们先看pa... 阅读全文
posted @ 2020-09-23 17:01 bairuiworld 阅读(370) 评论(0) 推荐(0) 编辑
摘要: SeetaFace2代码阅读FaceRecognization 一、Face Alignment人脸对齐做仿射变换:bool face_crop_core_ex( const uint8_t *image_data, int image_width, int image_height, int image_channels, uint8_t *crop_data, int cr... 阅读全文
posted @ 2020-05-20 17:01 bairuiworld 阅读(396) 评论(0) 推荐(0) 编辑
摘要: kaggle总结python ML 一、特征分析(EDA,探索性数据分析) 1.1 seaborn特征分析roc_curelineplot("X", "y", data=df))一个特征不同值对生的影响,有限个数:barplot("X", "y", data=df)连续且个数比较多sns.distplot(train['SibSp'][train['Survived'] == 1], b... 阅读全文
posted @ 2019-07-03 12:58 bairuiworld 阅读(540) 评论(0) 推荐(0) 编辑
摘要: sysloglinux c 1. 声明#include void openlog(char*ident,int option ,int facility);void syslog(int priority,char*format,……)void closelog() 2. openlog例子:openlog(argv[0], LOG_PID, LOG_LOCAL5);a. openlog会指... 阅读全文
posted @ 2019-07-03 12:54 bairuiworld 阅读(498) 评论(0) 推荐(0) 编辑