Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ SKNet Public archive

Implemenation of Selective Kernel Networks by pytorch with pretrained weight

Notifications You must be signed in to change notification settings

syt2/SKNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKNet

Implemenation of Selective Kernel Networks by pytorch.

The architecture of SK is as follows

I trained SKNet50 on ImageNet-2012 from scratch and got an accuracy of 21.26, which did not reach the performance of 20.79 in the paper. If somebody know what caused the problem, please leave me a message.

The pretrained weights are provided below.

Requirement

  • pytorch 1.4.0+
  • torchvision
  • tensorboard 1.14+
  • numpy
  • pyyaml
  • tqdm
  • pillow

Dataset

  • ImageNet-2012

Pretrained Model on ImageNet-2012

Architecture Top-1 error Pretrained model
SKNet50
(My Imp.)
21.26 Google Drive
Baidu Netdisk
SKNet50
(paper)
20.79 None

If you want to use my pretrained weight, you should do

  1. place the downloaded pretrained model in runs/sknet_imagenet/86028 folder under this project
  2. config the attribute of runid and cuda in the config file configs/sknet_imagenet.yml
  3. run validata.py or test.py (For test, you should specify the img_path in the test.py)

The error curve of SKNet50 during my training process is shown below

error curve

About

Implemenation of Selective Kernel Networks by pytorch with pretrained weight

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages