Thanks for your excellent work. Can you give me some suggestions on how to convert kps to positions? Either relationship diagram or tutorial website is both Ok. I would appreciate if you would like.
Maybe I missed some knowledge, but I think there are some problems in the code.
In trains/car_pose.py line129, 79, you called car_pose_decode() function, but the definition in models/decode.py is like that car_pose_decode( heat, wh, kps, dim, rot, prob=None, reg=None, hm_hp=None, hp_offset=None, K=100, meta=None, const=None), You didn’t pass the parameter rot.
And in models/decode.py line 590, you define as gen_position(kps, dim, rot, meta, const), the const use the default ‘None’, but 'NoneType' object has no attribute 'expand’.
Thanks for your excellent work. Can you give me some suggestions on how to convert kps to positions? Either relationship diagram or tutorial website is both Ok. I would appreciate if you would like.
Maybe I missed some knowledge, but I think there are some problems in the code.
trains/car_pose.py line129, 79
, you calledcar_pose_decode()
function, but the definition in models/decode.py is like thatcar_pose_decode( heat, wh, kps, dim, rot, prob=None, reg=None, hm_hp=None, hp_offset=None, K=100, meta=None, const=None)
, You didn’t pass the parameterrot
.models/decode.py
line 590, you define asgen_position(kps, dim, rot, meta, const)
, the const use the default ‘None’, but 'NoneType' object has no attribute 'expand’.