|
7 | 7 | load('gTruthResizedVald.mat');
|
8 | 8 |
|
9 | 9 | % original datasource path, do not edit
|
10 |
| -oldPathDataSource = fullfile("C:","Sandbox","DLODFX","deepLearningForObjectDetection","RoboSubFootage","valResized"); |
| 10 | +oldPathDataSource = convertCharsToStrings(gTruthResizedVal.DataSource); |
11 | 11 |
|
12 | 12 | % new datasource path, edit with the appropriate location
|
13 |
| -newPathDataSource = fullfile("RoboSubFootage","valResized"); |
| 13 | +newPathDataSource = "C:\Users\abshanka\Documents\Matlab\dl-objectDetection\dataset\valResized"; |
14 | 14 |
|
15 | 15 | alterPaths = {[oldPathDataSource newPathDataSource]};
|
16 | 16 | unresolvedPaths = changeFilePaths(gTruthResizedVal,alterPaths);
|
|
25 | 25 | load('gTruthResizedTest.mat');
|
26 | 26 |
|
27 | 27 | % original datasource path, do not edit
|
28 |
| -oldPathDataSource = fullfile("C:","MYWORK","deep-learning-for-object-detection","ObjectDetectionDLFX","RoboSubFootage","testResized"); |
| 28 | +oldPathDataSource = convertCharsToStrings(gTruthResizedTest.DataSource); |
29 | 29 | % new datasource path
|
30 |
| -newPathDataSource = fullfile("RoboSubFootage","testResized"); |
31 |
| - |
| 30 | +newPathDataSource = "C:\Users\abshanka\Documents\Matlab\dl-objectDetection\dataset\testResized"; |
32 | 31 | alterPaths = {[oldPathDataSource newPathDataSource]};
|
33 | 32 | unresolvedPaths = changeFilePaths(gTruthResizedTest,alterPaths);
|
34 | 33 |
|
|
41 | 40 | load('gTruthResizedTrain.mat');
|
42 | 41 |
|
43 | 42 | % your original datasource path
|
44 |
| -oldPathDataSource = fullfile("C:","MYWORK","deep-learning-for-object-detection","ObjectDetectionDLFX","RoboSubFootage","trainResized"); |
| 43 | +oldPathDataSource = convertCharsToStrings(gTruthResizedVal.DataSource); |
45 | 44 | % new datasource path
|
46 |
| -newPathDataSource = fullfile("RoboSubFootage","trainResized"); |
| 45 | +newPathDataSource = "C:\Users\abshanka\Documents\Matlab\dl-objectDetection\dataset\trainResized"; |
47 | 46 |
|
48 | 47 | alterPaths = {[oldPathDataSource newPathDataSource]};
|
49 | 48 | unresolvedPaths = changeFilePaths(gTruthResizedTrain,alterPaths);
|
|
0 commit comments