Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 957 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 957 Bytes

PFENet

This is the implementation of the good work PFENet: Prior Guided Feature Enrichment Network for Few-shot Segmentation. Based on this paper, we rewrite the code for higher training efficiency and better code reuse. Thanks to the official implementation.

Dataset

In this paper, PASCAL-5i and COCO 2014 are used for evaluation.

We have preprocessed PASCAL-5i, and you can download (pass code: b74i) it directly.

All datasets are stored in DocSet (*.ds) files, since this file format is portable and efficient. To support ds files in your system, install the "dcoset" package for your python environment.

pip3 install docset

Run The Code

python3 train.py --data-path /path/of/pascal5i.ds --gpu 0 --batch-size 8 --num-epochs 30