-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Depthmap very slow #228
Comments
While slow/fast are pretty relative terms I agree that it might need some optimization. I run set of photographs through Zephyr 3D (free version) and Meshroom and it took significantly more time with Meshroom. I didn't measure exact time but I can run the same set again on both is it is any use. I am using i7-5820K, 48GB RAM, Titan X (Maxwell) 12GB. |
I used the 3D Zephyr example files (the cherub statue) and after two hours the depthmap bar had hardly moved. I get a warning "Low GPU memory volume step Z: 3" I'm keen to play with the attributes to speed things up, and not fussed about the resolution of the final mesh at the moment. Problem, I don't understand most of the attributes and haven't found a decent explanation of how they affect the complexity of the computation. |
You get some kind of documentation when you run each of steps in command line - however it's not awfully more than what you get in UI. |
I have the same question. What can I do to speed up the DepthMap stage? My machine is a laptop with both integrated graphics and a discrete NVidia GTX960M, 2GB GDDR5. I was able to get AliceVision to utilise the faster GPU for the DepthMap stage, which it would not do by default. I want to acheive much shorter reconstruction times and I am willing to trade some quality for performance, if I just know what settings to tweak. I posted my question to the AliceVision Google Group, but perhaps GitHub Issues is the more active forum. |
Augment the downscale factor to directly reduce the precision. |
@fabiencastan Wow thank you. |
Yes, I know that I need to update most of the tooltips with more precision. |
Good info from @fabiencastan. That did reduce the workload. I have looked closer at the DepthMap stage and to my surprise the GPU is mostly idle during these long calculations. This strikes me as very strange. At the start of the DepthMap process the console output clearly shows that CUDA GPU is detected:
Each depth map calculation takes about 5 minutes and all cores of the CPU are under heavy load the whole time, but the GPU remains idle. The Python process causes a short spike of GPU activity, but the aliceVision_depthMapEstimation process holds the GPU activity at 0% the whole time. I have monitored the GPU using Windows' Task Manager > Performance tab and a program called GPU-Z by TechPowerUp. Shouldn't the monitoring show the GPU working hard during these calculations? |
it's very mid, literally on an 8C/16T 32gb and 8 gb vram system and cpu & ram tips around 30-40%, gfx 12%, pipeline performance should definitely be revised imo. If the system aint toast it aint done right, what the hell, maybe I'm dreaming? |
I have a i7, 16gb RAM, 2gb Nvidia card.
What settings can I change on DepthMap to speed things up a bit, assuming a lower resolution output?
The text was updated successfully, but these errors were encountered: