PGP
PGP copied to clipboard
Difference spotted regarding input feature dimension different in the code and paper
Hi,
Thank you for your contribution.
When I dive deeper into the source code, I found difference between this implementation and the paper.
According to the paper, lane node feature included (x, y, theta, I_stop_line, I_ped_crossing), which has the dimension of 5. At the same time, the trajectory of agents mentioned in the paper should have the dimension of 6.
However, in get_map_representation in nuScenes_graphs.py, the dimension of each lane node feature shows 6. Meanwhile, the representation of each surrounding agent trajectory have dimension of 5 instead of 6. What is the reason for this change?
Thank you.
hi, i also find it and this may be that the author adds one new dim of has_successor feature to lane_node_feats tensor, corresponding to lane_node_feats = self.add_boundary_flag(e_succ, lane_node_feats)
in nuScenes_graphs.py. you might compare shape change of lane_node_feats array.