psa
psa copied to clipboard
Learning Pixel-level Semantic Affinity with Image-level Supervision for Weakly Supervised Semantic Segmentation, CVPR 2018
At line https://github.com/jiwoon-ahn/psa/blob/master/network/vgg16_cls.py#L36. CAM is weighted combination of feature maps, so not sure why sqrt is used. Please, could you provide some clarification.
Hi Jiwoon I trained the classification model on my own dataset which has binary labels(present or not present). I made the necessary changes to your code. But while generating CAMs...
Hi,I got all black image when I run infer_aff.py file. Does anyone have the same problem as me?please help me,thank you!
Hello, I note that the order of paramters (params lr wd) in PolyOptimizer is different from official SGD(params lr momentum). So I think the value of wd will actually be...
I run the project and got the result out_cam/out_la_crf/out_ha_crf/out_rw. Where should I download GT? How should I calculate the mIOU? Can you provide the code to calculate the mIOU?
Hi, I notice that the last fc layer in resnet38_cls.py is defined as `self.fc8 = nn.Conv2d(4096, 20, 1, bias=False)`, while I found another implementation define the last layer as a...
DeepLab Code
Hi, @jiwoon-ahn, I get the same mIoU of cams and AffinityNet, but the result of Deeplab segmentation network only get 55% mIoU. Did you change something in DeepLab-CRF-LargeFOV? Can you...
Hi @jiwoon-ahn, I am trying to output the classification probability of 20 classes of VGG-based model. Can I take the probabilities from infer_cls.py? (e.g., https://github.com/jiwoon-ahn/psa/blob/b091fe85c05e6dd537b1e682a66ccd266c1f18e8/network/vgg16_cls.py#L28) Since in infer_cls.py, you only...
loss is not enough for my experiment, how can i calculate accuracy? thanks!
Hi Jiwoon, when training the segmentation net on the final masks, what schedule did you use (e.g. learning rate/decay, num of iterations/epochs, frozen/learned BN)? My guess is that you might...