wasidennis / AdaptSegNet

Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
850 stars 203 forks source link

Baseline (sourceonly ResNet) miou is 36.6 #35

Closed SpinachR closed 5 years ago

SpinachR commented 5 years ago

The sourceonly resnet-101 performance is quite higher than mine, which is only ~27.

I have noticed that the parameters in batch_norm layer are not trained. Do we need to update the batch statistics during training or just use the statistics load from the pre-trained resnet?

Could you provide more details based on resnet-101 model? @wasidennis

wasidennis commented 5 years ago

Since we are using the batch size as 1, we turned off the batch norm updates.

alphjheon commented 5 years ago

@wasidennis In case that we would like to use Batch normalization, how can we switch it on?

wasidennis commented 5 years ago

@alphjheon In the model, you can comment out the lines regarding setting BN layers "not required gradients", like the following:

for i in self.bn3.parameters(): i.requires_grad = False

tarun005 commented 4 years ago

@SpinachR My baseline ResNet-101 trained on GTA only is also around ~29%. The paper however reports ~35%. Can you tell steps to reproduce source only performance?