Giter Club home page Giter Club logo

Comments (3)

zc-alexfan avatar zc-alexfan commented on June 8, 2024

The one being hard-coded is for the models. We follow HMR and other hand/body regressors to use a fixed focal length (1000.0) in this case with a weak perspective camera.

You can also use the groundtruth intrinsics in meta info, but you might need to re-train the model. Furthermore, we tried to train with groundtruth intrinsics for the MANO parameter regression, but it is rather unstable. I think the problem was that, the model has to then adapt to different focal length changes due to the cropping and resizing effect using different bounding boxes.

from arctic.

ap229997 avatar ap229997 commented on June 8, 2024

Also, why is ground truth intrinsics used during evaluation on egocentric images (why not hard coded values or using ground truth for allocentric images as well?)

use_gt_k = args.use_gt_k
if is_egocam:
# no scaling for egocam to make intrinsics consistent
use_gt_k = True
augm_dict["sc"] = 1.0

from arctic.

zc-alexfan avatar zc-alexfan commented on June 8, 2024

I wrote this last year. I remember the reason was because an intrinsics matrix with use_gt_k=False will cause large misalignment when meshes are projected onto the pixel space for egocentric setting. This is because weak perspective camera assumes far away meshes, but for egocentric setting it is close up.

Therefore, we use the groundtruth intrinsics here so that the 2d projection of the meshes on the images will be more aligned.

Now, since we are using groundtruth intrinsics here, we need to make sure the intrinsics does not change for feasibility in model training. Therefore, we do not apply scaling in data augmentation, which is why augm_dict["sc"] = 1.0. Since image scale does not change, the intrinsics will not change.

from arctic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.