Comments (2)
hello, the :1
here refers to the fact that for logging purpose only, we construct a fake batch of only one element, to make things faster. You could argue that it could have been done directly from the actual batch computing in the photometric loss function. It's actually what I did in this version of the code : https://github.com/ClementPinard/unsupervised-depthnet/blob/master/train_img_pairs.py#L381
I did not put it here because it needs a bit of refactoring (but it might come !)
as such everything behaves like the photometric loss function here : https://github.com/ClementPinard/SfmLearner-Pytorch/blob/master/loss_functions.py#L26
ref_imgs
is a list of imgs tensors (from t-2 to t+2, excluding t), pose
is a tensor of poses, hence the necessity of the enumerate in the line before.
But here, ref is the jth element in the list of ref_imgs, and thus it matches with the element pose[:,j]
from sfmlearner-pytorch.
Thank you @ClementPinard !
from sfmlearner-pytorch.
Related Issues (20)
- What happens if I use 3 or more frames? HOT 1
- train with my own video HOT 1
- what's the minimal files required to train depth only model HOT 1
- Query regarding depth map. HOT 2
- Large Errors on Pose Prediction Network HOT 3
- why the gpu memory cost of tensorflow version is larger than pytorch version HOT 2
- Weird results from pretrained model on KITTI images HOT 4
- Question about using oxts data HOT 1
- Cannot run `train.py` with nohup HOT 2
- imread during inference load the image as uint8 HOT 4
- How About the Flops, fps and parameter of this model? HOT 1
- regarding the predicted depth map during inverse warp HOT 2
- How to visualize the warped image (ref_img_wapred) HOT 2
- regarding inverse_warping HOT 10
- Is the image input of depth network fixed? HOT 2
- Question about diff
- How to load training dataset
- Regarding the depth used for generating target image HOT 5
- Question about the poses predicted by the posenet HOT 2
- about the pose scale HOT 2
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 sfmlearner-pytorch.