LBAM_Pytorch
LBAM_Pytorch copied to clipboard
help for the generateMask.py
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?
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 :).