-
Notifications
You must be signed in to change notification settings - Fork 13
/
airdet_m.py
28 lines (20 loc) · 939 Bytes
/
airdet_m.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import os
from airdet.config import Config as MyConfig
class Config(MyConfig):
def __init__(self):
super(Config, self).__init__()
self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0]
self.model.backbone.dep_mul = 0.33
self.model.backbone.wid_mul = 0.50
self.model.neck.fpn_channels = [192, 256, 512]
self.model.neck.out_fpn_channels = [192, 256, 512]
self.model.neck.depth_multiplier = 5
self.model.neck.width_multiplier = 1.0
self.model.neck.feature_info = [dict(num_chs=128, reduction=8),
dict(num_chs=256, reduction=16),
dict(num_chs=512, reduction=32)]
self.model.head.feat_channels = [128, 128, 128]
self.model.head.in_channels = [192, 256, 512]
self.model.head.conv_groups = 2