Open davodogster opened 3 years ago
I think you have to do a post processing like doing something like detecting the contours of masks and then putting a condition that the two masks dont overlap! I want to do it too but will do it later. Let me know if you find some code solution
Hi @areebsyed Haven't found a code solution yet sorry. Have you?
Are using --no_crop = True?
https://github.com/dbolya/yolact/blob/1d3f7bb94f48dff6324b22483161374c35567306/eval.py#L96
Hi @areebsyed Haven't found a code solution yet sorry. Have you?
@davodogster no :/
I would like to ask: How big is your dataset and how long it takes, to get this results?
I usually train 12 hours and get just one detection in whole photo where is many same things as in yours. But you get really nice result. Thanks.
Are using --no_crop = True?
https://github.com/dbolya/yolact/blob/1d3f7bb94f48dff6324b22483161374c35567306/eval.py#L96
No I never knew about that! what does it do ?
@mmiisskk Hi Misky, How many classes do you have and how big (how may pixel width) are the objects after they are resized?
YOLACT pretrained with data augmentation img_size 1000 (default settings I think) is very powerful. I just trained this on 40 images, val on 8. That is a testing image.
@davodogster Hi, thanks for reply. My train dataset has 26 images and val dataset 10 images. Size of these images is 880x700 px. (objects size is 78x82 px) After resize to 550x550 px for training/val set, objects size is 47x66 px.
@davodogster it cutts off the parts of the masks that are not within the bounding box. Default is False, maybe you can test setting it True
parser.add_argument('--no_crop', default=False, dest='crop', action='store_false',
help='Do not crop output masks with the predicted bounding box.')
@amaanda when I run eval.py with that flag --no_crop=True it says --no_crop: ignored explicit argument 'True'.
EDIT - it works when you just run it with --no_crop
Hey @davodogster @mmiisskk Did you find any solution to this problem ?
How can I fix this strange thing the model is doing, overlapping DISJOINTED predictions shown in red. EDIT: After reading the paper again I see that this is a common problem with Yolact - discussed in the 'Leakage' section of the paper.
I'm training with RLE, iscrowd = 0 because iscrowd = 1 doesn't train.
Regards, Sam