Blog 音乐页创建问题
0. 前言本blog 的音乐页面使用以下两个插件进行构建。 hexo-tag-aplayer MetingJS 单独使用其中某个插件会存在以下的问题。 hexo-tag-aplayer: 只能引用本地的文件(封面,歌词,音源) 封面,歌词的下载与存储较为复杂 MetingJS 无法获取QQ音乐会员的歌曲音源 为了解决上述两个问题,我们可以采用下面的思路 将QQ音乐歌曲下载到本地 对QQ音乐会员歌曲进行解码至mp3格式,存储于web本地。QQ音乐解密见另一篇文章 修改MetingJS 音源url至本地,保留其他接口不变 同时为了一次性部署多个音乐,我们使用歌单的形式,创建QQ音乐歌单,将需要部署的歌曲存入歌单。 1. QQ音乐获取相关信息1.1 歌单创建创建歌单:Blog 获取歌单的ID,在QQ音乐网页端,获取歌单Blog的ID 歌单URL为https://y.qq.com/n/ryqq/playlist/8976385915 则歌单的ID为8976385915 1.2...
mmdetection
0. MMDetectionMMDetection 是一个基于 PyTorch 的目标检测开源工具箱。它是 OpenMMLab 项目的一部分。 主分支代码目前支持 PyTorch 1.8 及其以上的版本。 Github仓库 open-mmlab/mmdetection: OpenMMLab Detection Toolbox and Benchmark (github.com) 官方文档 Welcome to MMDetection’s documentation! — MMDetection 3.1.0 documentation 1. FasterRCNN1.1 模型配置文件在Model Zoo中找到你需要的检测模型 Faster R-CNN 的model zoo位于mmdetection/configs/faster_rcnn at main · open-mmlab/mmdetection (github.com) 预训练的结果与模型配置文件,模型文件可以在表格内找到 Backbone Style Lr...
Faster RCNN 源码解析
Pytorch官方FasterRCNN0. 代码结构 FasterRCNN继承GeneralizedRCNN, GeneralizedRCNN继承nn.Module 1. GeneralizedRCNN123456789101112131415161718192021222324252627282930class GeneralizedRCNN(nn.Module): def __init__(self, backbone, rpn, roi_heads, transform): super(GeneralizedRCNN, self).__init__() self.transform = transform self.backbone = backbone self.rpn = rpn self.roi_heads = roi_heads # images是输入的除以255归一化后的batch图像 #...
cmake_tutorial
CMake Note官网:CMake 官方教材:[Step 1: A Basic Starting Point — CMake 3.25.1 Documentation](https://cmake.org/cmake/help/latest/guide/tutorial/A Basic Starting Point.html#exercise-1-building-a-basic-project) tutorial文件:cmake-3.25.1-tutorial-source 目录[toc] Build and Run创建build文件夹 mkdir build 进入build文件夹 cd .\build\ 运行cmake配置项目并生成原生构建系统 cmake .. 调用构建系统真正编译链接项目 cmake --build . 可执行文件位于build/Debug [toc] Step1:A Basic Starting Point 基础起始部分Exe1: Building a Basic Project...
vmware_tools
vmware tools 联网安装 1234sudo apt install open-vm-toolssudo apt install open-vm-tools-desktopsudo apt install open-vm-tools-devsudo /etc/init.d/gdm3 restart
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment