Instead of instance prediction on all the classes (2,3,4), I want to predict only for class 2 i.e. trunk. For that I changed the 'SemIDforInstance' variable in treeins panoptic dataset file. Do I also need to tune parameters of 'get_instances' function of PanopticResults to make it work or retrain the embed head, offset head or scorer Unet after freezing the backbone and semantic head, or do I need to change clustering parameters?
Edit - Increased the cluster_radius_search to 3 * grid_size instead of 1.5 and bandwidth to 0.8 for meanshift clustering from 0.6 and min_score to 1e-5 from 0.5(because scorer without retraining gives very less score to only trunk). The results from trunk instance segmentation are better now but still some instances are over segmented.
Instead of instance prediction on all the classes (2,3,4), I want to predict only for class 2 i.e. trunk. For that I changed the 'SemIDforInstance' variable in treeins panoptic dataset file. Do I also need to tune parameters of 'get_instances' function of PanopticResults to make it work or retrain the embed head, offset head or scorer Unet after freezing the backbone and semantic head, or do I need to change clustering parameters?
Edit - Increased the cluster_radius_search to 3 * grid_size instead of 1.5 and bandwidth to 0.8 for meanshift clustering from 0.6 and min_score to 1e-5 from 0.5(because scorer without retraining gives very less score to only trunk). The results from trunk instance segmentation are better now but still some instances are over segmented.