semantic-segmentation-codebase icon indicating copy to clipboard operation
semantic-segmentation-codebase copied to clipboard

how to generate pseudo label?

Open lions-heart opened this issue 4 years ago • 3 comments

This is a great base work . I was learning how to use cam for segmentation training, and then found it. But I didn't find the function to generate pseudo label through cam.

lions-heart avatar Nov 16 '21 02:11 lions-heart

Hi @lions-heart , This repo contains the code for retraining step. Please refer to other works such as https://github.com/YudeWang/SEAM for pseudo label generation.

YudeWang avatar Nov 16 '21 08:11 YudeWang

Thank you for your reply. Is out_cam_pred the pseudo mask we want to generate? Cause i don`t find 'config.py' in SEAM.

lions-heart avatar Nov 16 '21 08:11 lions-heart

That's right. Suggest to use the predictions of the random walk step, which is better. https://github.com/YudeWang/SEAM/blob/c55601649c5fa676836d3ec70ec044541b7d1d83/infer_aff.py#L60 More details please refer to README in SEAM repo.

YudeWang avatar Nov 16 '21 08:11 YudeWang