yhw-yhw / D2HC-RMVSNet

The official repository of the paper "Dense Hybrid Recurrent Multi-view Stereo Net with Dynamic Consistency Checking" (ECCV2020 Spotlight)
MIT License
109 stars 9 forks source link

How do you compute the memory required? #11

Closed mazeyu closed 2 years ago

mazeyu commented 3 years ago

Hi, since you reported memory usage in the paper and I noticed you have commented some memory usage in the code, so I am wondering if you use some package or the command "nvidia-smi" to report the memory. Thank you!

weizizhuang commented 3 years ago

Yes, just by the command 'nvidia-smi'.

mazeyu commented 3 years ago

Then, a follow-up question, for all this kind of general memory experiment, just wondering when to call 'nvidia-smi' or repeatedly? (since the memory is always fluctuating due to some caching mechanism.) Thanks!