Giter Club home page Giter Club logo

Comments (10)

karfly avatar karfly commented on June 29, 2024 1

Hi, @Samleo8!
All the visualization tools are collected here: https://github.com/karfly/learnable-triangulation-pytorch/blob/master/mvn/utils/vis.py.

from learnable-triangulation-pytorch.

shrubb avatar shrubb commented on June 29, 2024 1

Also, maybe you will find the ground truth annotations viewer useful.

from learnable-triangulation-pytorch.

Samleo8 avatar Samleo8 commented on June 29, 2024 1

Is there documentation on how data in the outputted pickle file looks/is organized?
It seems that in order to use the vis.py tool I need to know how to unpack the data ?

For now, I can see that the dictionary contains something in the form of

"keypoints_3d": (some 3d numpy array?)
"indexes": (??)

May I know what these represent in more detail? Thank you!

from learnable-triangulation-pytorch.

Samleo8 avatar Samleo8 commented on June 29, 2024

Several other questions as I look through the code of vis.py:

def visualize_batch(images_batch, heatmaps_batch, keypoints_2d_batch, proj_matricies_batch,
                    keypoints_3d_batch_gt, keypoints_3d_batch_pred,

It seems visualize_batch is the most likely function for use for my purpose?

However, I do not know what to pass in for images_batch and keypoints_3d_batch_gt since the pickle file does not seem to contain any information.

Moreover, I am unsure if directly passing in the unpickled data from keypoints_3d_batch_pred is correct, as it might not be in the correct format required by the function?

Thank you and greatly appreciate your help!

from learnable-triangulation-pytorch.

karfly avatar karfly commented on June 29, 2024

@Samleo8, do you mean pickle file from this issue?

from learnable-triangulation-pytorch.

Samleo8 avatar Samleo8 commented on June 29, 2024

@karfly No I meant the results.pkl file that resulted from running train.py --eval and is in

logs/eval_human3.6m.../checkpoints/...

from learnable-triangulation-pytorch.

Samleo8 avatar Samleo8 commented on June 29, 2024

@karfly @shrubb @Danivilanova

In a sense, the issue is "resolved" because I can visualise the results through tensorboard.

However, because I have no idea how the results are being formatted/the way to parse them, I don't have a way of using the evaluation results for anything meaningful, nor applying it directly to another dataset of my own? Is there a way to resolve this?

Thank you!

from learnable-triangulation-pytorch.

karfly avatar karfly commented on June 29, 2024

The structure of the results.pkl file is fully determined by the code. Here (https://github.com/karfly/learnable-triangulation-pytorch/blob/master/train.py#L353) you can find, how we dump the results-dict. The results-dict is filled with data some lines of code above.

from learnable-triangulation-pytorch.

davidmaeurer avatar davidmaeurer commented on June 29, 2024

I'm sorry, but I still don't quite understand how to use the visualization tool. Do I have to write a separate program that calls these functions? And I have the same question as @Samleo8 regarding the parameters of the visualization function.

from learnable-triangulation-pytorch.

karfly avatar karfly commented on June 29, 2024

Hi, @davidmaeurer!
We don't have a standalone visualization tool, so you should write a separate program to visualize your data. In train.py you can find example on how to visualize a batch.

from learnable-triangulation-pytorch.

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.