当前位置:网站首页>Rotating frame target detection mmrotate v0.3.1 learning model
Rotating frame target detection mmrotate v0.3.1 learning model
2022-07-02 02:45:00 【qq_ forty-one million six hundred and twenty-seven thousand six】
1、 We basically divide the model components into 5 Types
1、backbone: usually an FCN network to extract feature maps, e.g., ResNet, Swin.
2、neck: the component between backbones and heads, e.g., FPN, ReFPN.
3、head: the component for specific tasks, e.g., bbox prediction.
4、roi extractor: the part for extracting RoI features from feature maps, e.g., RoI Align Rotated.
5、loss: the component in head for calculating losses, e.g., FocalLoss, GWDLoss, and KFIoULoss.
2、 Develop new components
2.1 Add a new backbone
Here we have MobileNet As an example to show how to develop new components
1. Define a new backbone (e.g. MobileNet)
Create a new file mmrotate/models/backbones/mobilenet.py.
import torch.nn as nn
from mmrotate.models.builder import ROTATED_BACKBONES
@ROTATED_BACKBONES.register_module()
class MobileNet(nn.Module):
def __init__(self, arg1, arg2):
pass
def forward(self, x): # should return a tuple
pass
2.2 The import module
You can either add the following line to mmrotate/models/backbones/init.py
from .mobilenet import MobileNet
or alternatively add
custom_imports = dict(
imports=['mmrotate.models.backbones.mobilenet'],
allow_failed_imports=False)
To the configuration file , To avoid modifying the original code .
2.3. Use the backbone in your config file
model = dict(
...
backbone=dict(
type='MobileNet',
arg1=xxx,
arg2=xxx),
...
边栏推荐
- Provincial election + noi Part IV graph theory
- Realize the code scanning function of a custom layout
- 2022 safety officer-c certificate examination questions and mock examination
- [learn C and fly] 3day Chapter 2 program in C language (exercise 2.3 calculate piecewise functions)
- how to add one row in the dataframe?
- [staff] pitch representation (bass clef | C1 36 note pitch representation | C2 48 note pitch representation | C3 60 note pitch representation)
- LFM signal denoising, time-frequency analysis, filtering
- 批量检测url是否存在cdn—高准确率
- Software testing learning notes - network knowledge
- Quality means doing it right when no one is looking
猜你喜欢

As a software testing engineer, will you choose the bank post? Laolao bank test post

【读书笔记】程序员修炼手册—实战式学习最有效(项目驱动)

CoordinatorLayout + TabLayout + ViewPager2(里面再嵌套一个RecyclerView),RecyclerView的滑动冲突解决

Query word weight, search word weight calculation

2022-2028 global aluminum beverage can coating industry research and trend analysis report

How to batch add background and transition effects to videos?

LeetCode刷题(十)——顺序刷题46至50
![[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)](/img/e0/05890eafdb291c5aaff78cc241f455.jpg)
[staff] pitch representation (treble clef | C3 60 ~ B3 71 pitch representation | C4 72 pitch representation | C5 84 pitch representation)

【带你学c带你飞】4day第2章 用C语言编写程序(练习 2.5 生成乘方表与阶乘表

LFM signal denoising, time-frequency analysis, filtering
随机推荐
【OpenCV】-5种图像滤波的综合示例
Pychart creates new projects & loads faster & fonts larger & changes appearance
As a software testing engineer, will you choose the bank post? Laolao bank test post
【带你学c带你飞】day 5 第2章 用C语言编写程序(习题2)
What are the common proxy servers and what are the differences?
Query word weight, search word weight calculation
Use the open source project [banner] to achieve the effect of rotating pictures (with dots)
結婚後
PHP notes - use Smarty to set public pages (include, if, else, variable settings)
Yyds dry goods inventory accelerating vacuum in PG
Coordinatorlayout + tablayout + viewpager2 (there is another recyclerview nested inside), and the sliding conflict of recyclerview is solved
Calculation (computer) code of suffix expression
SQL server calculates the daily average and annual average of the whole province
[staff] diacritical mark (ascending sign | descending sign B | double ascending sign x | double descending sign BB)
【liuyubobobo-玩转Leetcode算法面试】【00】课程概述
Duplicate keys detected: ‘0‘. This may cause an update error. found in
MySQL operates the database through the CMD command line, and the image cannot be found during the real machine debugging of fluent
2022低压电工考试题模拟考试题库模拟考试平台操作
Special symbols in SAP ui5 data binding syntax, and detailed explanation of absolute binding and relative binding concepts
Kibana controls es