isarandi / metrabs

Estimate absolute 3D human poses from RGB images.

Home Page:https://arxiv.org/abs/2007.07227

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Namespace' object has no attribute 'final_transposed_conv'

cohyun opened this issue · comments

commented

Hi :) Thanks for nice work.
I'm running the prediction&evaluation by the code you wrote in the docs.

$ ./main.py --test --dataset=h36m --stride-test=4 --checkpoint-dir="$CHECKPOINT_DIR"

And in here,
I'm having error that Namespace doesn't have the attribute 'final_transposed_conv' in the file '/home/sj/Projects/test/metrabs/src/tfu3d.py' and '/home/sj/Projects/test/metrabs/src/models/util.py'

File "/home/sj/Projects/test/metrabs/src/models/metrabs.py", line 64, in call  *
            coords3d_rel_pred = models.util.heatmap_to_metric(coords3d, training)
        File "/home/sj/Projects/test/metrabs/src/models/util.py", line 29, in heatmap_to_metric  *
            coords2d = heatmap_to_image(
        File "/home/sj/Projects/test/metrabs/src/models/util.py", line 12, in heatmap_to_image  *
            stride //= FLAGS.final_transposed_conv
    
        AttributeError: 'Namespace' object has no attribute 'final_transposed_conv'

Can you plz help how to fix this error?