Skip to content

Andy-zhujunwen/pytorch-Pyramid-Attention-Networks-PAN-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-Pyramid-Attention-Networks-PAN-

train code + inference code were released. [pytorch version]

PAN network:

image

FPA:

image

GAU:

image

How to train

first enter the directory: and follow the instruction: 1.write the dataset path in mypath.py 2. and run

python train.py

after trainning,it will save two model: convnet.pth,pan.pth

How to Inference:

#run:

python inference.py

input:

the Pic in validation dataset:

image

the Pic off the dataset:

image

output:

the Pic in validation dataset:

image

the Pic off the dataset:

image

About

train code + inference code were released. [pytorch version]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages