This is the implementation of Structure-Consistent Weakly Supervised Salient Object Detection with Local Saliency Coherence (AAAI2021)
.
- Clone this project and install required pytorch first.
- pip install -r requirements.txt
The training data can be downloaed from Scribble_Saliency.
The pretrianed weight for backbone can be downloaded from Res50.
- Download training data and put them into 'data' folder.
- run train.py
The test model can be downloaded from model.
- Modify test path
- run test.py
The predicted Saliency Maps can be downloaded from prediction.
The evaluation code is from GCPANet.
The code is based on GCPANet and GatedCRFLoss.