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

3 visualizaciones (últimos 30 días)
Krunal Patel
Krunal Patel el 29 de Nov. de 2022
Respondida: Ben el 30 de Nov. de 2022
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.

Respuestas (1)

Ben
Ben el 30 de Nov. de 2022
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

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by