当前位置:网站首页>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 .
边栏推荐
猜你喜欢

ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘

MySQL比较运算符IN问题求解

How does the whole network display IP ownership?

金山云——2023届暑期实习

【IDEA】使用插件一键逆向生成代码

RPA advanced (II) uipath application practice

A white hole formed by antineutrons produced by particle accelerators

MySQL linked list data storage query sorting problem

Redis exceeds the maximum memory error oom command not allowed when used memory & gt; ' maxmemory'

MTK full dump grab
随机推荐
解决uniapp列表快速滑动页面数据空白问题
Mongodb learning and sorting (condition operator, $type operator, limit() method, skip() method and sort() method)
Tdsql | difficult employment? Tencent cloud database micro authentication to help you
TDSQL|就业难?腾讯云数据库微认证来帮你
JS -- take a number randomly from the array every call, and it cannot be the same as the last time
MySQL linked list data storage query sorting problem
II Stm32f407 chip GPIO programming, register operation, library function operation and bit segment operation
ROS lacks xacro package
Order by注入
SQLite modify column type
Functional interfaces and method references
三.芯片啟動和時鐘系統
2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises
PKG package manager usage instance in FreeBSD
原生方法合并word
一.STM32的开发环境,keil5/MDK5.14安装教程(附下载链接)
What are the methods of adding elements to arrays in JS
Homer预测motif
TIPC protocol
mmrotate旋转目标检测框架使用记录