Skip to content

Bibikiller/HFA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HFA: Harmonic Feature Activation for few-shot semantic segmentation

Core Modules of HFA

Introduction

Few-shot semantic segmentation aims at training a model which segments the novel class with few training data. We propose harmonic feature activation to effectively activate the target category in query image.



Innovation

The Bilinear_Activation_slice module could be used for feature fusion.
The Semantic Diffusion module can be plugged before segmentation modules to refine the feature maps.

Getting started

Requirements

pytorch>=1.0
python>=3.6
numpy
pillow
opencv

Data preparation

PASCAL VOC dataset
MS COCO dataset

Train & Test

run main.ipynb

Model zoo & results

Please kindly refer to here

License

MIT license

References

Part of our codes are based on the following repositories:
DEEPLAB-XCEPTION: https://github.com/jfzhang95/pytorch-deeplab-xception

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published