Closed manmanjun closed 3 years ago
Hi, sorry for late response. The parameters used are the same as the ones used in the paper ClassMix: Segmentation-Based Data Augmentation for Semi-Supervised Learning, namely p = 0.5 and sigma taken randomly in the range [8,32]. See this repo for details on the generation and implementation. The reason for using these particular values is partly because they were used in this existing work, and partly because they worked well empirically.
In the /utils/transformmasks.py, how are the parameters of sigma, p set in the functions generate_cow_mask?