Comments (4)
@JamieWatson683 – as far as I remember we could train this model with a batch size of 12 on a single 12GB GPU, is that right?
Manydepth is pretty lightweight. Normal deep MVS methods tend to use a 4D cost volume, of size num_features x depth x height x width
. We just use a 3D cost volume, of size depth x height x width
. This helps a lot in terms of memory.
from manydepth.
Yes that sounds about right @mdfirman, maybe batch size of 10 for 12GB GPU for 640x192
(the "MR" resolution).
We generate a 3D cost volume, as we take the L1 distance between features at each location (collapsing the num_features
dimension, rather than concatenating as per more heavy weight MVS methods.
We also don't let gradients flow through the cost volume or the feature extraction on previous images, which additionally reduces the memory consumption.
from manydepth.
Thanks for replying.
How do you process the cost volume to conver it to a single depth map? In my opinion, It's a 3D tensor so 3D conv is needed.
from manydepth.
Yes it's a 3D tensor – but we avoid 3D convs by treating the depth
dimension as the channel
dimension in standard 2D convs. So we treat the 3D cost volume as a 2D image with multiple channels. We then do a series of 2D convs to finally end up with a depth image.
from manydepth.
Related Issues (20)
- Stereo + Tempora (training with stereo video like monodepth2)
- About cityscapes disparity to depth_gt HOT 2
- Can the scale ambiguity be resolved with multi-frame approach? HOT 1
- Depth Estimation Results on Single Frames
- Question of relative pose in matching augmentation.
- how to test many frames at the same time?
- Help training out bright reflection... HOT 1
- About scale problem in monocular setting HOT 2
- Why the training time of manydepth is much shorter than monodepth2? HOT 3
- when i test the image,the result of the depth is black HOT 1
- About MAX gt_depth HOT 2
- Get gt depth for other Cityscape images HOT 2
- Calculate the gt depth for Cityscape images HOT 3
- About qualitative results presented in Figure 4 HOT 1
- The dataset GT-Calculation HOT 1
- what should the
- How to conduct multi GPU training
- On the pre training model of cityscapes HOT 3
- custom dataset prepare
- test-time refinement code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manydepth.