Harish-JHR commited on
Commit
cfc2391
·
verified ·
1 Parent(s): 4ef93dd

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DiffuseSeg Weights
2
+
3
+ Used for reproducing results of "Label-Efficient Semantic Segmentation with Diffusion Models" (ICLR 2022)
4
+
5
+ This repository contains weights and features extracted from a Denoising Diffusion Probabilistic Model (DDPM) for segmentation tasks.
6
+ DDPM Weights can be found at "https://huggingface.co/Harish-JHR/DDPM_CelebAHQ64".
7
+ Following the approach in the referenced paper, we extract **pixel-level features** from the UpBlock layers of the DDPM and train lightweight segmentation heads on them.
8
+
9
+ ## Contents
10
+ - `ddpm_pixel_features_train.pt`: Pixel-level feature vectors from DDPM.
11
+ - `ddpm_pixel_labels_train.pt`: Corresponding integer pixel labels for training.
12
+ - `mlp_X_best.pt`: Trained MLP segmentation heads (10 in total).
13
+
14
+ Each MLP corresponds to a segmentation head trained on different layers/features.
15
+
16
+ ## Usage
17
+ ```python
18
+ import torch
19
+
20
+ features = torch.load("ddpm_pixel_features_train.pt")
21
+ labels = torch.load("ddpm_pixel_labels_train.pt")
22
+ mlp1 = torch.load("mlp_1_best.pt")