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)
.............
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) .............