[2824d6]: / drunet / test_performance.py

Download this file

8 lines (6 with data), 244 Bytes

1
2
3
4
5
6
7
import performance
if __name__ == '__main__':
# test model segmentation performance
pred_path = r'' # predict result path
gt_path = r'' # ground truth path
calc_performance(pred_path, gt_path, img_resize=(1400, 1400))