Logo
Explore Help
Register Sign In
mirrors/mmpretrain
1
0
Fork 0
You've already forked mmpretrain
mirror of https://github.com/open-mmlab/mmpretrain.git synced 2025-06-03 14:59:18 +08:00
Code Issues Packages Projects Releases Wiki Activity
mmpretrain/configs/_base_/models/vgg19bn.py

12 lines
296 B
Python
Raw Normal View History

Add VGG and pretained models (#27) * add vgg * add vgg model coversion tool * fix out_indices and docstr * add vgg models in configs * add params, flops and accuracy in docs * add pretrained models url * use ConvModule and refine var names * update vgg conversion tool * modify bn config * add docs for arch_setting * add unit test for vgg * rm debug code * update vgg pretrained models
2020-09-29 17:49:42 +08:00
# model settings
model = dict(
type='ImageClassifier',
backbone=dict(
type='VGG', depth=19, norm_cfg=dict(type='BN'), num_classes=1000),
neck=None,
head=dict(
type='ClsHead',
loss=dict(type='CrossEntropyLoss', loss_weight=1.0),
topk=(1, 5),
))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 532ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API