Open aihcyllop opened 1 year ago
Why am I the opposite of you, I need boxs, but only mask
@aihcyllop How did you go about training with your own example segmentation dataset? Do you have any reference material? Thank you very much!
@aihcyllop @Jxzde any work up you guys did, I am also in a situation where I would like to get the prediction of instance segmentation given the masks alone and without boxes, classes, edge and probability
can u show how did u generate mask using demo.py @aihcyllop
can u show how did u generate mask using demo.py @aihcyllop
do u mean this ? python demo/demo.py --config-file configs/coco/instance-segmentation/dinat/maskformer2_dinat_large_IN21k_384_bs16_100ep.yaml --input datasets/"yourdatasetfolder"/*.png --output demo/"foldertoputresult" --opts MODEL.WEIGHTS output/model_final.pth
When I finish training for instance segmentation and use demo.py to generate masks, I get the result of the first image.
First image includes box and class(0 in this case) and probability.
Also, the segment object has edge with different colors.
I want to ask how to generate the mask like the second image.
I want to generate image without edge, box, probability and class.
Hope someone can help and thank you so much.