question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is the metric or something wrong?

See original GitHub issue

Thank you for sharing your code.

I pulled your code repository and set up the Human3.6M dataset according to your instruction. After that, I’d like to test “Algebraic triangulation” so ran the following command: python3 train.py --eval --eval_dataset train --config eval/human36m_alg.yaml --logdir ./logs And then, I got the following message:

args: Namespace(config=‘eval/human36m_alg.yaml’, eval=True, eval_dataset=‘train’, local_rank=None, logdir=‘./logs’, seed=42) Number of available GPUs: 1 Loading pretrained weights from: ./data/pretrained/human36m/pose_resnet_4.5_pixels_human36m.pth Reiniting final layer filters: module.final_layer.weight Reiniting final layer biases: module.final_layer.bias Successfully loaded pretrained weights for backbone Successfully loaded pretrained weights for whole model Loading data… Experiment name: eval_human36m_alg_AlgebraicTriangulationNet@11.11.2019-21:14:55 /home/akihiko/MV3Dpose/learnable-triangulation-pytorch/mvn/datasets/human36m.py:220: RuntimeWarning: invalid value encountered in true_divide action_scores[k] = v[‘total_loss’] / v[‘frame_count’] /home/akihiko/MV3Dpose/learnable-triangulation-pytorch/mvn/datasets/human36m.py:220: RuntimeWarning: invalid value encountered in double_scalars action_scores[k] = v[‘total_loss’] / v[‘frame_count’] Done.

It seems to work but I got a huge error. For example, the average “per pose error” is about 1200 and it means 1200 mm, doesn’t it?

Thank you.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
qiuzhongwei-USTBcommented, Nov 21, 2019

@aki34 v[‘frame_count’] could be zero. I obatin right results by adding the following codes. for k, v in action_scores.items(): if v[‘frame_count’] > 0: action_scores[k] = v[‘total_loss’] / v[‘frame_count’] else: action_scores[k] = 0

0reactions
shrubbcommented, Dec 2, 2019

@aki34 I just pushed a large reproducibility update, please check if it brings you a lower error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why the metric system is wrong - Dec. 3, 2002 - CNN
Yes, the actual length of the meter -- compared with what was intended -- is a mistake. But it's a mistake that has...
Read more >
Busting Myths about the Metric System | NIST
While it's true that metric use is mandatory in some countries and voluntary in others, all countries have recognized and adopted the SI,...
Read more >
What are some 'big cons' or 'issues' with the metric system ...
One unheralded difficulty is that most major sports are not metric. Most modern major sports arose from the Anglo-American sporting culture of the...
Read more >
Is The Metric System Actually Better? - YouTube
... up with this link and get 20% off your subscription with Brilliant.org! https://brilliant.org/realengineering/ … Show more. Show more ...
Read more >
What's WRONG with Metrics? - Towards Data Science
As goes for any metric, it depends entirely on what you mean to do with the data. If your model needs to perform...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found