Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8680ac3

Browse files
author
YaoYao
committed
fix parameters
1 parent 887dfd1 commit 8680ac3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
* Enter the ``MVSNet/mvsnet`` folder, in ``train.py``, set ``dtu_data_root`` to your ``MVS_TRANING`` path
3434
* Create a log folder and a model folder in wherever you like to save the training outputs. Set the ``log_dir`` and ``save_dir`` in ``train.py`` correspondingly
3535
* Train MVSNet (GTX1080Ti):
36-
``python train.py --regularization 'GRU'``
36+
``python train.py --regularization '3DCNNs'``
3737
* Train R-MVSNet (GTX1080Ti):
38-
``python train.py --regularization '3DCNNs'``
38+
``python train.py --regularization 'GRU'``
3939

4040
### Testing
4141

mvsnet/depthfusion.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def mvsnet_to_gipuma_cam(in_path, out_path):
9292

9393
return
9494

95-
def fake_colmap_normal(in_depth_path, out_normal_path):
95+
def fake_gipuma_normal(in_depth_path, out_normal_path):
9696

9797
depth_image = read_gipuma_dmb(in_depth_path)
9898
image_shape = np.shape(depth_image)
@@ -155,8 +155,7 @@ def mvsnet_to_gipuma(dense_folder, gipuma_point_folder):
155155
out_depth_dmb = os.path.join(sub_depth_folder, 'disp.dmb')
156156
fake_normal_dmb = os.path.join(sub_depth_folder, 'normals.dmb')
157157
mvsnet_to_gipuma_dmb(in_depth_pfm, out_depth_dmb)
158-
fake_colmap_normal(out_depth_dmb, fake_normal_dmb)
159-
158+
fake_gipuma_normal(out_depth_dmb, fake_normal_dmb)
160159

161160
def probability_filter(dense_folder, prob_threshold):
162161
image_folder = os.path.join(dense_folder, 'images')
@@ -176,7 +175,6 @@ def probability_filter(dense_folder, prob_threshold):
176175
depth_map[prob_map < prob_threshold] = 0
177176
write_pfm(out_depth_map_path, depth_map)
178177

179-
180178
def depth_map_fusion(point_folder, fusibile_exe_path, disp_thresh, num_consistent):
181179

182180
cam_folder = os.path.join(point_folder, 'cams')

0 commit comments

Comments
 (0)