LBAM_Pytorch icon indicating copy to clipboard operation
LBAM_Pytorch copied to clipboard

help for the generateMask.py

Open Wangdanchunbufuz opened this issue 1 year ago • 1 comments

Hi ! Thank you for your great project! Can you tell me the detaill of how to use the generateMask.py to gengeate the mask files?

Wangdanchunbufuz avatar Feb 28 '23 12:02 Wangdanchunbufuz

You can run the code by default setting to see the generated results, ingore the "--loadSize" (seems not used here). for "--imgSize", it defineds the resolution of the generated masks, "--numbers" is the total running numbers of masks to generate, "--density" controls the percentage of the masked area, and "--res" defines the continuity of the mask areas, the lower the thicker, the higher the sparser.

Just randomly run some settings, and you will see the results :).

Vious avatar Mar 01 '23 07:03 Vious