Comments (3)
Hi - thanks for your interest, and sorry for the delayed response.
Good catch about the disabling of loading depths, that is unintentional! Thankfully it doesn't affect the training of Manydepth, but will push a fix shortly.
I am not familiar with the Lyft dataset so I am probably not the best source of information - however I believe that KITTI velodyne data has 4 values per point (z, x, y, reflectance), and that is why it is reshaped into (num_points x 4) in line16 of load_velodyne_points
. Do you know how the Lyft lidar data is stored? If it is stored in some other format then you will need to amend this function accordingly.
from manydepth.
Hey, I checked out the Lyft lidar format. Apparently, they store their lidar data as (x, y, z, intensity, ring_index). Here's their code for reading a .bin
file containing the points: https://github.com/lyft/nuscenes-devkit/blob/8b55159e89d6318f143bd44dbdfde99ad7ff72e8/lyft_dataset_sdk/utils/data_classes.py#L259-L284
The output from this reading is a (4, n_points) array in (x, y, z, intensity) format.
I see that they also have code for generating a depth map, which is what I need: https://github.com/lyft/nuscenes-devkit/blob/8b55159e89d6318f143bd44dbdfde99ad7ff72e8/lyft_dataset_sdk/lyftdataset.py#L736-L798
What I can probably do, is to generate these maps offline and load them in the dataloader. I will try it and come back to you with an update on the result.
from manydepth.
Hi again! I was able to generate depth maps for the Lyft data, which can be loaded in the data loader directly. However, I noticed that the compute_depth_losses
function in trainer.py
only seems to support depth maps in the same dimension as data from Kitti due to the cropping done here:
manydepth/manydepth/trainer.py
Lines 662 to 665 in 28fbbcf
For my own training purposes, I have disabled the cropping in the compute_depth_losses
function and moved the cropping out to the dataloaders, and I think it would be better overall if this cropping happens in the dataloader to support custom datasets.
from manydepth.
Related Issues (20)
- Training on NYU-V2 Dataset
- 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
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.