Unable to resolve the name 'helper.do​wnloadSCNN​LaneDetect​ion'.

조회 수: 3 (최근 30일)
Krunal Patel
Krunal Patel 2022년 11월 29일
답변: Ben 2022년 11월 30일
I am trying to run the Spatial cnn repositiory for lane line detection but, I am geting this error while I load the pretrained model. The link for the repository is "https://github.com/matlab-deep-learning/pretrained-spatial-CNN". I have tried to run it in MATLAB 2021b as well as MATLAB 2022b with all the pre-requisites installed from MATLAB add-ons. Can anyone please help me with this.

답변 (1개)

Ben
Ben 2022년 11월 30일
I believe you need to do the following
1. clone or download https://github.com/matlab-deep-learning/pretrained-spatial-CNN into a local folder on your machine e.g. run
at a terminal/command prompt with git
2. Open MATLAB and change directory to where you cloned that repo. e.g. I clone into "C:\work\pretrained-spatial-CNN" so in MATLAB I ran
>> cd C:\work\pretrained-spatial-CNN
3. Add the path to the /src folder/directory. This is necessary so MATLAB knows there's functions in that /src folder that you want to use at any time - in particular the helper.downloadSCNNLaneDetection function is contained in /src. To do this run
>> addpath("src");
Note that addpath does not persist between MATLAB sessions. If that's required see savepath
Hope that helps

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by