'Namespace' object has no attribute 'final_transposed_conv'
cohyun opened this issue · comments
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?