a | b/drunet/test_performance.py | ||
---|---|---|---|
1 | import performance |
||
2 | |||
3 | if __name__ == '__main__': |
||
4 | # test model segmentation performance |
||
5 | pred_path = r'' # predict result path |
||
6 | gt_path = r'' # ground truth path |
||
7 | calc_performance(pred_path, gt_path, img_resize=(1400, 1400)) |