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
hi,
I found an error in generate_result function in test.py file, that is " if (np.sum(feature[i]**2))>=0:", this condition will always be true. so it is redundant conditional statement?
lane_feature = []
x = []
y = []
for i in range(len(grid)):
if (np.sum(feature[i]**2))>=0:
point_x = int((offset[i][0]+grid[i][0])*p.resize_ratio)
point_y = int((offset[i][1]+grid[i][1])*p.resize_ratio)
.............
The text was updated successfully, but these errors were encountered:
hi,
I found an error in generate_result function in test.py file, that is " if (np.sum(feature[i]**2))>=0:", this condition will always be true. so it is redundant conditional statement?
lane_feature = []
x = []
y = []
for i in range(len(grid)):
if (np.sum(feature[i]**2))>=0:
point_x = int((offset[i][0]+grid[i][0])*p.resize_ratio)
point_y = int((offset[i][1]+grid[i][1])*p.resize_ratio)
.............
The text was updated successfully, but these errors were encountered: