gujiuxiang / MIL.pytorch

PyTorch implementation of Multiple-instance learning
117 stars 29 forks source link

what does score matching mean in test.py ? #13

Open winnechan opened 5 years ago

winnechan commented 5 years ago

mil_prob = test_img(im, mil_model, base_image_size, mean) mil_prob = mil_prob.data.cpu().float().numpy() ... for jj in xrange(prec.shape[1]):   f = interp1d(precision_score['thresh'][jj][:,0], precision_score['prec'][jj][:,0])   #prec[:, jj] = f(mil_prob[:, jj])   prec[:, jj] = mil_prob[:, jj] mil_prec = prec

the code seems only copy values in mil_prob to mil_prec ? the value shown in the example, what does that mean ? why need the coco_valid1_eval.pkl ? what does the content of coco_valid1_eval.pkl mean ?

i am confused, can someone help ?