in file 'leafmask.py', line 165.
code as follow:
’fine_grainedfeatures, = point_sample_fine_grained_features(
mask_features_list, features_scales, pred_boxes_tmp, point_coords)‘
But,the declaration of method ’point_sample_fine_grained_features‘ need 5 params, while the code just give 4 params. Thus in the section of inference , a exception thrown.
in file 'leafmask.py', line 165.
code as follow: ’fine_grainedfeatures, = point_sample_fine_grained_features( mask_features_list, features_scales, pred_boxes_tmp, point_coords)‘
But,the declaration of method ’point_sample_fine_grained_features‘ need 5 params, while the code just give 4 params. Thus in the section of inference , a exception thrown.