当前位置:网站首页>mmrotate旋转目标检测框架使用记录
mmrotate旋转目标检测框架使用记录
2022-07-02 07:44:00 【小俊俊的博客】
mmrotate旋转目标检测框架使用记录
最近有旋转目标检测的需求了,在寻找旋转目标检测算法的过程中,发现已经有人提前测评了各类旋转目标检测框架了,结果是mmrorate效果最好。本次记录一下mmrorate的实验过程。
将持续更新实验记录!
主要参考:
1.测评参考:
https://blog.csdn.net/FL1623863129/article/details/123408354?utm_medium=distribute.pc_relevant.none-task-blog-2defaultbaidujs_title~default-4-123408354-blog-124335060.pc_relevant_multi_platform_whitelistv1&spm=1001.2101.3001.4242.3&utm_relevant_index=7
2.实现过程参考
https://blog.csdn.net/Sylvia_Lan/article/details/124008837
https://github.com/open-mmlab/mmrotate
https://sxj731533730.blog.csdn.net/article/details/124107625?spm=1001.2101.3001.6650.4&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-124107625-blog-124008837.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-4-124107625-blog-124008837.pc_relevant_default&utm_relevant_index=6
https://blog.csdn.net/qq_43581224/article/details/123838415
一、配置环境
1.目前电脑已有环境
(1)Ubuntu20.04
(2)Cuda==11.2+cudnn
2.下载代码建立虚拟环境
(1)下载代码
https://github.com/open-mmlab/mmrotate
(2)建立虚拟环境
用pycharm打开该代码文件夹,并添加虚拟环境
(3)安装pytorch
进入pytorch官网,找到适合自己的版本,进行下载安装。
注:如果有小伙伴和我一样安装的是Cuda11.2,在pytorch官网上,无法找到对应版本时,可是试着安装cuda11.3对应的pytorch==1.11.0版本。
(4)安装mmrorate
pip install openmim
mim install mmrotate
二、测试
1.下载权重
权重模型集合
https://download.openmmlab.com/mmrotate/v0.1.0/kfiou/r3det_kfiou_ln_r50_fpn_1x_dota_oc/r3det_kfiou_ln_r50_fpn_1x_dota_oc-8e7f049d.pth
下载后,在mmrorate文件夹下,新建model文件夹,并放入model文件夹中。
2.运行demo
运行指令格式:
python demo/image_demo.py \
${
IMG_ROOT} \
${
CONFIG_FILE} \
${
CHECKPOINT_FILE}
IMG_ROOT:为待检测图像
CONFIG_FILE:为配置文件
CHECKPOINT_FILE:为训练好的权重。
pycharm终端cd道demo文件夹,输入
python3 image_demo.py demo.jpg ../configs/kfiou/r3det_kfiou_ln_r50_fpn_1x_dota_oc.py ../model/r3det_kfiou_ln_r50_fpn_1x_dota_oc-8e7f049d.pth

至此,可以确定整体环境没问题了。
边栏推荐
- C#中索引器
- 华为游戏初始化init失败,返回错误码907135000
- Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)
- 【快应用】text组件里的文字很多,旁边的div样式会被拉伸如何解决
- Implementation of six singleton modes
- PCL extracts a subset from a point cloud
- JSP webshell free -- the basis of JSP
- 三.芯片启动和时钟系统
- Why does LabVIEW lose precision in floating point numbers
- flink二開,實現了個 batch lookup join(附源碼)
猜你喜欢

MTK full dump抓取

JSP webshell free -- the basis of JSP

【深入浅出玩转FPGA学习5-----复位设计】

Huawei game failed to initialize init with error code 907135000

Special topic of binary tree -- acwing 3540 Binary search tree building (use the board to build a binary search tree and output the pre -, middle -, and post sequence traversal)
![[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?](/img/66/674a06d8e45a31ae879b81554ef373.png)
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?

二叉树专题--AcWing 19. 二叉树的下一个节点(找树中节点的后继)

【AGC】如何解决事件分析数据本地和AGC面板中显示不一致的问题?

Flick two open, realized a batch lookup join (with source code)

二.Stm32f407芯片GPIO编程,寄存器操作,库函数操作和位段操作
随机推荐
Jsp webshell Free from killing - The Foundation of JSP
二叉树专题--AcWing 19. 二叉树的下一个节点(找树中节点的后继)
TIPC Getting Started6
MongoDB 学习整理(条件操作符,$type 操作符,limit()方法,skip() 方法 和 sort() 方法)
Win11 arm system configuration Net core environment variable
[AI application] Hikvision ivms-4200 software installation
【深入浅出玩转FPGA学习5-----复位设计】
高德根据轨迹画线
K-d tree and octree of PCL
软件产品管理系统有哪些?12个最佳产品管理工具盘点
Jenkins安装
【AppLinking实战案例】通过AppLinking分享应用内图片
2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises
QT学习日记8——资源文件添加
TIPC introduction 1
flink二開,實現了個 batch lookup join(附源碼)
【ARK UI】HarmonyOS ETS的启动页的实现
6种单例模式的实现方式
From Read and save in bag file Jpg pictures and PCD point cloud
JSP webshell免殺——JSP的基礎