Update evaluate_mvs.py
This commit is contained in:
parent
bac76cd757
commit
25bd7f4fb0
@ -26,7 +26,7 @@ cudnn.benchmark = True
|
|||||||
parser = argparse.ArgumentParser(description='Predict depth, filter, and fuse')
|
parser = argparse.ArgumentParser(description='Predict depth, filter, and fuse')
|
||||||
parser.add_argument('--model', default='IterMVS', help='select model')
|
parser.add_argument('--model', default='IterMVS', help='select model')
|
||||||
parser.add_argument('--dataset', default='dtu_yao_eval', help='select dataset')
|
parser.add_argument('--dataset', default='dtu_yao_eval', help='select dataset')
|
||||||
parser.add_argument('--testpath', default='/data/dtu_data/dtu_test/', help='testing data path')
|
parser.add_argument('--testpath', default='/data/DTU_data/dtu_test/', help='testing data path')
|
||||||
parser.add_argument('--testlist', default='./lists/dtu/test.txt', help='testing scan list')
|
parser.add_argument('--testlist', default='./lists/dtu/test.txt', help='testing scan list')
|
||||||
parser.add_argument('--maxdisp', default=256)
|
parser.add_argument('--maxdisp', default=256)
|
||||||
parser.add_argument('--split', default='intermediate', help='select data')
|
parser.add_argument('--split', default='intermediate', help='select data')
|
||||||
@ -447,4 +447,4 @@ if __name__ == '__main__':
|
|||||||
print('scan: '+scan+' time = {:3f}'.format(time.time() - start_time))
|
print('scan: '+scan+' time = {:3f}'.format(time.time() - start_time))
|
||||||
else:
|
else:
|
||||||
filter_depth(args.testpath, args.outdir, os.path.join(args.outdir, 'custom.ply'),
|
filter_depth(args.testpath, args.outdir, os.path.join(args.outdir, 'custom.ply'),
|
||||||
args.geo_pixel_thres, args.geo_depth_thres, args.photo_thres, img_wh, geo_mask_thres=3)
|
args.geo_pixel_thres, args.geo_depth_thres, args.photo_thres, img_wh, geo_mask_thres=3)
|
||||||
|
Loading…
Reference in New Issue
Block a user