当前位置:网站首页>Mmrotate rotation target detection framework usage record
Mmrotate rotation target detection framework usage record
2022-07-02 11:35:00 【Xiaojunjun's blog】
mmrotate Rotating target detection framework usage record
Recently, there is a need for rotating target detection , In the process of finding rotating target detection algorithm , It is found that some people have evaluated various rotating target detection frameworks in advance , The result is mmrorate The best effect . Record this time mmrorate Experimental process .
The experimental records will be continuously updated !
Main reference :
1. Evaluation reference :
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. Implementation process reference
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
One 、 Configuration environment
1. At present, the computer environment
(1)Ubuntu20.04
(2)Cuda==11.2+cudnn
2. Download the code to create a virtual environment
(1) Download code
https://github.com/open-mmlab/mmrotate
(2) Build a virtual environment
use pycharm Open the code folder , And add virtual environment 
(3) install pytorch
Get into pytorch Official website , Find your own version , Download and install .
notes : If there is a small partner who installs the same as me Cuda11.2, stay pytorch Official website , When the corresponding version cannot be found , But try installing cuda11.3 Corresponding pytorch==1.11.0 edition .
(4) install mmrorate
pip install openmim
mim install mmrotate
Two 、 test
1. Download weight
Weight model set
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
After downloading , stay mmrorate Under the folder , newly build model Folder , And put in model In the folder .
2. function demo
Run instruction format :
python demo/image_demo.py \
${
IMG_ROOT} \
${
CONFIG_FILE} \
${
CHECKPOINT_FILE}
IMG_ROOT: For the image to be detected
CONFIG_FILE: For profile
CHECKPOINT_FILE: For trained weights .
pycharm terminal cd Avenue demo Folder , Input
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

thus , It can be determined that the overall environment is ok .
边栏推荐
猜你喜欢

Tick Data and Resampling

Verilog 和VHDL有符号数和无符号数相关运算
![[play with FPGA learning 5 in simple terms ----- reset design]](/img/57/816a59787259dc32b52897c069e1a6.png)
[play with FPGA learning 5 in simple terms ----- reset design]

亚马逊云科技 Community Builder 申请窗口开启

From the perspective of attack surface, see the practice of zero trust scheme of Xinchuang

Digital transformation takes the lead to resume production and work, and online and offline full integration rebuilds business logic

VS2019代码中包含中文内容导致的编译错误和打印输出乱码问题

QT learning diary 7 - qmainwindow

Verilog and VHDL signed and unsigned number correlation operations
![[idea] use the plug-in to reverse generate code with one click](/img/b0/00375e61af764a77ea0150bf4f6d9d.png)
[idea] use the plug-in to reverse generate code with one click
随机推荐
Programmer growth Chapter 6: how to choose a company?
Xiao Sha's pain (double pointer
[cloud native] 2.5 kubernetes core practice (Part 2)
SSRF
八大排序汇总
ros缺少catkin_pkg
The difference between SQL left join main table restrictions written after on and where
mysql链表数据存储查询排序问题
Compilation errors and printout garbled problems caused by Chinese content in vs2019 code
Skills of PLC recorder in quickly monitoring multiple PLC bits
Is the stock account given by qiniu business school safe? Can I open an account?
STM32 single chip microcomputer programming learning
enumrate的start属性的坑
MySQL basic statement
念念不忘,必有回响 | 悬镜诚邀您参与OpenSCA用户有奖调研
Some things configured from ros1 to ros2
Complement (Mathematical Simulation
TIPC Getting Started6
金山云——2023届暑期实习
Functional interfaces and method references