You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The motivation should be calculating a distance matrix of nodes which shape is $(M,M)$, where M is the number of nodes.
However, the code above will get a $(N,N,2)$ matrix, where N is the number of lanes.
Therefore, the index operation in #L199 left_dist[hi[mask], wi[mask]] = 1e6 will raise a out of range error.
The text was updated successfully, but these errors were encountered:
In https://github.com/zhaone/LaneGCN_ref/blob/main/data/LaneGCN/hdmap.py#L176
The motivation should be calculating a distance matrix of nodes which shape is$(M,M)$ , where M is the number of nodes.$(N,N,2)$ matrix, where N is the number of lanes.
However, the code above will get a
Therefore, the index operation in #L199
left_dist[hi[mask], wi[mask]] = 1e6
will raise a out of range error.The text was updated successfully, but these errors were encountered: