ardaduz / deep-video-mvs

Code for "DeepVideoMVS: Multi-View Stereo on Video with Recurrent Spatio-Temporal Fusion" (CVPR 2021)
MIT License
221 stars 29 forks source link

Scannet test results #16

Closed mrharicot closed 2 years ago

mrharicot commented 2 years ago

Hi,

Thanks for sharing the code for your work!

I have a few questions regarding the evaluation on the ScanNet dataset:

If the latter, could you please share the keyframe file used for the scannet test ?

Thank you for your help!

ardaduz commented 2 years ago

Hi,

Starting with your second question, we do the latter: average over a keyframe, average over all the keyframes in all the scenes.

To reproduce the results in Table 1 and for your convenience, I am providing a partially populated test setup with the folder structure and keyframe indices: https://drive.google.com/file/d/17vySxdAVOUIqevgNCtM5t-YeZRo2nc-H/view?usp=sharing

Keyframe indices are the ones that we use to acquire the results and they are created with simulate_keyframe_buffer.py. I placed only scene0707_00 to perhaps give you clues, you can populate the others.

Then, please have a look at https://github.com/ardaduz/deep-video-mvs#testing:

  1. Set the input output locations in Config and disable visualization.
    • visualize=False
    • test_offline_data_path = "PATH_TO_DeepVideoMVS-Test-Setup"
    • test_dataset_name = "scannet"
    • test_result_folder = "PATH_TO_DeepVideoMVS-Test-Setup/results"
  2. Run pairnet/run_testing.py or fusionnet/run_testing.py depending on which one you want to test
  3. The depth predictions for the keyframes "predictions" and per-frame averaged metrics "errors" are saved in test_result_folder as .npz for each scene separately.
  4. When finished, you can load each scene's errors one-by-one and concatenate all and average.

Hope this helps, let me know if you manage or encounter any issue.

mrharicot commented 2 years ago

Hi,

Thanks a lot for your answer! I'll try asap and let you know how it goes.

mrharicot commented 2 years ago

Hi,

Thank you for your help, I got it running and matched the results reported in your paper. Actually the delta < 1.25 is even very so slightly better at 96.59 (vs 96.54 reported on arxiv).