Skip to content

Issue when running example as suggested #5

@Ben-schlch

Description

@Ben-schlch

Running interference on single picture with model from repository results in following error:

python imageLaneDetection.py

Traceback (most recent call last):
File "imageLaneDetection.py", line 20, in
output_img = lane_detector.detect_lanes(img)
File "/home/rollerz/Documents/Vorgänger/TfLite-Ultra-Fast-Lane-Detection-Inference/ultrafastLaneDetector/ultrafastLaneDetector.py", line 79, in detect_lanes
self.lanes_points, self.lanes_detected = self.process_output(output, self.cfg)
File "/home/rollerz/Documents/Vorgänger/TfLite-Ultra-Fast-Lane-Detection-Inference/ultrafastLaneDetector/ultrafastLaneDetector.py", line 163, in process_output
return np.array(lane_points_mat), np.array(lanes_detected)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions