Skip to content

The implementation of Beyond Pixel-level Annotation: Learning to Detect Changes With Image-Level Supervision.

Notifications You must be signed in to change notification settings

mfzhao1998/WSLCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSLCD

The implementation of Beyond Pixel-level Annotation: Learning to Detect Changes With Image-Level Supervision. It includes the part of generating pixel-level pseudo labels using image-level labels.

Flowchart of the proposed framework. It mainly includes three parts: double-branch Siamese network structure, MLER, and PCL. The double-branch network structure is used to extract features and generate CAMs and embeddings. In particular, the feature extractor is also a Siamese network and integrates the multiscale context information in CNN. MLER not only constrains the consistency of CAMs from different views but also makes them learn from each other based on saliency regions. PCL performs contrastive learning based on CAMs and embeddings so that the same class has a similar feature representation. Furthermore, we not only build intraview contrast, but also interview contrast.

Illustration of code

  1. Train weakly supervised models:train.py
  2. Export pixel-level labels:infer.py

About

The implementation of Beyond Pixel-level Annotation: Learning to Detect Changes With Image-Level Supervision.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages