Unable to resolve the name 'helper.downloadSCNNLaneDetection'.
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Ben
on 30 Nov 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");
Hope that helps
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!