Comments (3)
if you take a look at the training image file used by the data loader to load kitti images (https://github.com/lakshjaisinghani/pseudo-lidar-pipeline/blob/master/bts_official/train_test_inputs/eigen_train_files_with_gt.txt) you can see that the last term post directory path is the focal parameter. You can see that they vary with each image.
The use of the focal parameter is just to normalize the depth, where the 715.0873 is the average of all focal parameters.
from pseudo-lidar-pipeline.
Hey Mohammad, That is something I'm working on at the moment actually!
The model being used ideally takes in the focal length as an input parameter while training. But, at the moment I'm not using it at test time due to the following reasons:
-
The model was pre-trained on the Kitti dataset (rectified data) with the focal length parameter to predict the final depth.
final_depth = final_depth * focal.view(-1, 1, 1, 1).float() / 715.0873
-
While building the pipeline I noticed that the standard deviation between camera focal lengths trained on is very small (same car, same camera, different calibration day).
-
My test vehicle's camera parameters are totally different.
Hence, the model I found that the model is pretty adept and getting fairly accurate results at test time even if I don't provide a focal length. And the accuracy doesn't need to be great to build the pipeline in the first place (build first, fine-tune later).
Although the model works alright, I'll be changing it to a simpler architecture very soon. The complexity of the network doesn't provide good real-time performance.
I still have quite a bit of work to do on this before it's any good haha!
from pseudo-lidar-pipeline.
May I ask the purpose of using "focal length" in the above formula?
And also, what is the value of "715.0873" here?
from pseudo-lidar-pipeline.
Related Issues (1)
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 pseudo-lidar-pipeline.