easton-cau / LeafMask

13 stars 5 forks source link

There maybe a bug need to fix #5

Open hplegend opened 2 years ago

hplegend commented 2 years ago

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.